Debug not working!
mountaineer
Posts: 27
I was working on updating the basic stamp part of a project I'm working on and the debug command started behaving erratically. I'm using the basic stamp to red information from a playstation controller and then "serout" it as well as debug the information. The program works great when the serial cable is not plugged in, but when it is the program debugs the wrong things and stops working correctly. It used to work fine on an older version of the compiler I had, but it doesn't work anymore. I am running version 2.2.5 of the compiler on windows xp.
Comments
Which pin port are you using for your SEROUT command? If you are using pin port 16, use some other pin port, as DEBUG uses that pin port for its output.
Regards,
Bruce Bates
Thanks in Advance, mountainieer
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I'm missing something here. Unless there is something unique with the BS2px (and the user hasn't said that he's using same) what do p0 and p1 have to do with DEBUG?
Regards,
Bruce Bates
If you can, post your code -- perhaps there's something one of us will see that will lead to a solution
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
it basically is Jon William's code for interfacing with the Playstation controller plus some data manipulation. Its suppossed to work for controlling a mobile robot by sending out a speed value, a turn value, and then the data for the majority of the buttons.
Thanks for all the help, mountaineer
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com