Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Does this look right ?
Author | Message | ||||
hitsware Guru Joined: 23/11/2012 Location: United StatesPosts: 535 |
10 open "com2:19200" as #1 20 print #1, 0 30 pause 3 40 goto 20 CGColorMaximite (similar on DuinoMite Mega) The long highs are the pause time. Shouldn't the rest be mostly just low ? |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6100 |
Remember that you are sending asc("0") followed by CRLF That's in decimal 48,13,10 And probably a leading space as well Jim VK7JH MMedit MMBasic Help |
||||
hitsware Guru Joined: 23/11/2012 Location: United StatesPosts: 535 |
Geez ......... It's supposed to be the number "0" as in zero ( 8 low bits ) Maybe I have a complete misunderstanding somewheres ? |
||||
Dylan Regular Member Joined: 17/06/2013 Location: NetherlandsPosts: 81 |
You probably want CHR$(0) then. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3802 |
Try ... print #1, chr$(0); Note the semi-colon as well (to suppress the CRLF) John |
||||
hitsware Guru Joined: 23/11/2012 Location: United StatesPosts: 535 |
Thanks Guys ! ..... :) That does it . |
||||
Print this page |