How to have "debug" type computer monitor display in Propella?
I noticed that Propella has not built in "debug" type display function like basic stamp. Does anybody have object do this and give me simply·way to use or show me example how I can use in the propellar code to display valuable or results in computer monitor?
If there is not, can someone send me similar function using additional monitor port in Propellar demo board? In this case, I may need to have additional monitor to do this, rifht? I am realy beginner.
Thanks,
Caleb.·
If there is not, can someone send me similar function using additional monitor port in Propellar demo board? In this case, I may need to have additional monitor to do this, rifht? I am realy beginner.
Thanks,
Caleb.·

Comments
Try PropTerminal: http://forums.parallax.com/showthread.php?p=649540
It has some examples in th ZIP.
Here is another code example to show values with PC_Text.spin:
{{ Text Test }} ' Shows how to display values on PropTerminal for Debugging CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 OBJ term : "PC_Text" 'You can also use TV_Text or VGA_Text objects VAR long i PUB Main 'start the terminal term.start(12) term.str(string("PC_Text Demo...",13)) term.out(0) 'show a single character defined by ASCII code repeat i from 1 to 20 term.out(12) 'change the color term.out(i&7) term.dec(i) 'show a variable in decimal term.out(9) 'tabulator term.out("$") term.hex(i,2) 'show a value in Hex term.out(9) term.out("%") term.bin(i,8) 'show a value binary term.out(13) 'force new line waitcnt(clkfreq+cnt)
Andy
Post Edited (Ariba) : 3/22/2008 8:01:22 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
But, I shamefully plug my own PropMonitor here:
http://forums.parallax.com/showthread.php?p=706777
Left me with mixed feelings on its reliability out in the field.