What is the best way to debug the prop?
jonduncan
Posts: 40
I am looking for a way so i can see the changes to the variables i made to see if it is working, what is the best way to do that. I noticed a bs2 function library where i could do the debug function but does that bring up a terminal where i can see the changes to the varibles i made, it there a simple way to send variables back to my laptop over the usb on the proto board. what programs do i need to be able to view those variables.
Comments
I use a 'update' routine to display register/variable names and values. It consists of one routine to post the register/variable names, and another to pick up and display the values after the name (using a space or '.' to visually separate one from the other; part of the name.).
Works for me. It is my debugging 'device'; 3-4 resistors for the TV output and uses one cog for the TV_text object. VGA requires a few more resistors, and maybe another cog.
Probably many ways to implement 'seeing' the variables.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Myself, I've been using FullDuplexSerial on the 2-Prop design. One to communicate with an existing pcb and another for Prop-to-Prop comm. Running at 38400 baud is fast enough for this application.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life