number converter
Archiver
Posts: 46,084
I am working on a police scanner to basic stamp interface and when I
ask for a freq it returns something like F150000 (150mhz) is there a
way that I can pull the F off so that the stamp will see it as a
number?
Thanks in advance
Duncan Fairley
(soon to be) k7djf
ask for a freq it returns something like F150000 (150mhz) is there a
way that I can pull the F off so that the stamp will see it as a
number?
Thanks in advance
Duncan Fairley
(soon to be) k7djf
Comments
Is this with serial input? How about:
ifreq var word
SERIN ... [noparse][[/noparse] "F", dec ifreq]
?
Al Williams
AWC
* NEW: PAK-VIa - Read PS/2 keyboards or mice -- double the buffer, lower
current consumption.
http://www.al-williams.com/awce/pak6.htm
>
Original Message
> From: Duncan Fairley [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=By39IYvEOGsADD_V4PQ7YjDNqbstRN4sR9Ff67NInXd9VXLPegSU2vZiYf5t80dF7dkG8VJ-dBQCMz4]Djdunkman@h...[/url
> Sent: Tuesday, August 26, 2003 7:11 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] number converter
>
>
> I am working on a police scanner to basic stamp interface and when I
> ask for a freq it returns something like F150000 (150mhz) is there a
> way that I can pull the F off so that the stamp will see it as a
> number?
>
> Thanks in advance
> Duncan Fairley
> (soon to be) k7djf
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. 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/
>
>
>
>