keyboard input
Hello,
How can i use the keyboard of the PC to input data to a variable?
i did:
serin 16,$17197,[noparse][[/noparse]valor]
when i do a debug it drops me a different value than the input
Best regards,
Kalun mailto:klnlau@v...
How can i use the keyboard of the PC to input data to a variable?
i did:
serin 16,$17197,[noparse][[/noparse]valor]
when i do a debug it drops me a different value than the input
Best regards,
Kalun mailto:klnlau@v...
Comments
>
> i did:
>
> serin 16,$17197,[noparse][[/noparse]valor]
>
> when i do a debug it drops me a different value than the input
You can with Al Williams PAK-VI Keyboard Coprocessor
http://www.al-williams.com/awce/pak6.htm
-Bruce
webmaster@r...
http://www.rentron.com
serin 16,...,[noparse][[/noparse]dec valor]
Then if you have a terminal running you can enter something like "421" and
valor will equal 421. If you leave the dec off, and you enter 421 then valor
would equal 52 (the ASCII value of "4").
Regards,
Al Williams
AWC
*8 channels of PWM at once: http://www.al-williams.com/awce/pak5.htm
>
Original Message
> From: Kalun Lau [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=eiAnOAlbzXZN4vynSeTIzyaprzYm24tbAYiDZaqqTSPgtz5YfTrHZ_LJftTGY4E4pLkW7-URC8Iv0g]klnlau@t...[/url
> Sent: Monday, June 04, 2001 9:42 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] keyboard input
>
>
> Hello,
>
> How can i use the keyboard of the PC to input data to a variable?
>
> i did:
>
> serin 16,$17197,[noparse][[/noparse]valor]
>
> when i do a debug it drops me a different value than the input
>
>
> Best regards,
> Kalun mailto:klnlau@v...
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed with. Text in
> the Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
And as Bruce said, you can use a PAK-VI to read a keyboard DIRECTLY (no PC)
from a Stamp but I think you just want to read from the terminal, right?
Al Williams
AWC
* Connect your Stamp to the Internet!
http://www.al-williams.com/awce/netporter.htm
>
Original Message
> From: Al Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=boECOtaaOnc6k9Cv4JPlIWzeK9Ylnwd5uZRlDKU6G0o_72c1ivlpCvMfDpDYlbqb4XEck9gy7VYGINPK]alw@a...[/url
> Sent: Monday, June 04, 2001 9:49 PM
> To: basicstamps@yahoogroups.com
> Subject: RE: [noparse][[/noparse]basicstamps] keyboard input
>
>
> Try:
>
> serin 16,...,[noparse][[/noparse]dec valor]
>
> Then if you have a terminal running you can enter something like "421" and
> valor will equal 421. If you leave the dec off, and you enter 421
> then valor
> would equal 52 (the ASCII value of "4").
>
> Regards,
>
> Al Williams
> AWC
> *8 channels of PWM at once: http://www.al-williams.com/awce/pak5.htm
>
>
> >
Original Message
> > From: Kalun Lau [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=4hzlmNIt1Ag9XraBkX08M6phLZgTtj850Qt1kQx_kScxogoo6xyiTp5eU4wFkQviL8IPg1IQNWE]klnlau@t...[/url
> > Sent: Monday, June 04, 2001 9:42 PM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] keyboard input
> >
> >
> > Hello,
> >
> > How can i use the keyboard of the PC to input data to a variable?
> >
> > i did:
> >
> > serin 16,$17197,[noparse][[/noparse]valor]
> >
> > when i do a debug it drops me a different value than the input
> >
> >
> > Best regards,
> > Kalun mailto:klnlau@v...
> >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed with. Text in
> > the Subject and Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed with. Text in
> the Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>