This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Radio Button on Rabbit WEB - "virgo.boyz" - Nov 16 2:03:22 2009
Hi,
i'm newbie on rabbit.
i want to control DS2 LED over ZHTML with radio button, but failed
any one can help me how to do this?
thanks,
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
RE: Radio Button on Rabbit WEB - Kenny Millar - Nov 16 4:42:05 2009
We're going to need more details!
What module are you using?
What have you tried so far?
What went wrong / didn't work when you 'failed' ?
Have you looked at the rabbit web samples? One of them does exactly what you
want.
-K
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of virgo.boyz
Sent: 16 November 2009 05:34
To: r...@yahoogroups.com
Subject: [rabbit-semi] Radio Button on Rabbit WEB
Hi,
i'm newbie on rabbit.
i want to control DS2 LED over ZHTML with radio button, but failed
any one can help me how to do this?
thanks,

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Radio Button on Rabbit WEB - "virgo.boyz" - Nov 16 13:45:29 2009
Hi Millar,
Yea, sorry I forgot mention the details,
I using RCM 4300 Development board,
So far I have tried and follow the sample from rabbit web documentation
And I have solved my problem (please see my code below: ZHTML CODE and C-CODE), thanks for
your respond.
But I have another problem,
Let say, the "led1" state on board is "ON" (bit PB.2=0) but on the web page (for the first
time access) there is no radio button checked, of course this is wrong information for
user.
So, I want the "form" lookup hardware condition first and then set which one radio button
should be checked.
Sorry if my English not well, can you help me how to do this?
Thanks.
----------------------------------------------------------------------------------
ZHTML CODE
----------------------------------------------------------------------------------
LED 1
----------------------------------------------------------------------------------
=================================================================
C CODE
=================================================================
.
.
.
.
int led1;
#web led1
void main(void)
{
brdInit();
sock_init(); // initialize TCP/IP stack
http_init(); // initialize web server
http_set_path("/", "index.html");
tcp_reserveport(80);
while(1)
{
http_handler();
BitWrPortI(PBDR, &PBDRShadow, led1, 2);
}
}
==================================================================
--- In r...@yahoogroups.com, Kenny Millar
wrote:
>
> We're going to need more details!
>
>
>
> What module are you using?
>
> What have you tried so far?
>
> What went wrong / didn't work when you 'failed' ?
>
> Have you looked at the rabbit web samples? One of them does exactly what you
> want.
>
> -K
>
>
>
> From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
> Behalf Of virgo.boyz
> Sent: 16 November 2009 05:34
> To: r...@yahoogroups.com
> Subject: [rabbit-semi] Radio Button on Rabbit WEB
>
>
>
>
>
> Hi,
>
> i'm newbie on rabbit.
>
> i want to control DS2 LED over ZHTML with radio button, but failed
>
> any one can help me how to do this?
>
> thanks,
>
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )