Cant enter data from the debug terminal (linux)
I using BS2 on Linux. Everything works perfectly, but I cant figure out how to enter data form the debug terminal. I press <enter>, but this just brings a new line and doesnt send the entered data to the basic stamp
Any would on this would be very great!
--thank you.
Post Edited (slackjack) : 9/25/2006 11:56:55 PM GMT
Any would on this would be very great!
--thank you.
Post Edited (slackjack) : 9/25/2006 11:56:55 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
This is exactly how I entered it in the emacs text editor. The code complies fine, I get send the number (by hitting the <enter> key) to the basic stamp.
What happens in the Basic Stamp editor when you invoke "Check Syntax"·on the above code from the "Run" menu?
(Dunno about how to test/run a BS2 program from emacs, but the above code syntax wouldn't be expected to·check out correctly using the Windows version of the PBasic Editor/Development System???)
PAR
Change this:
debugin DEC1 mynum, cr
To this:
debugin DEC1 mynum
Recompile it, and give it a try.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
9600-N-8-1, no flow control, add line feed, ANSI terminal emulation, (make sure minicom is pointed towards the correct serial port)
I use bstamp_run to load the software on BOE-bot, exit bstamp_run, enter minicom, and push the reset button on the BOE. I get the same message I would have with bstamp_run, then I enter my input followed by CTRL-M. Seems to work OK.