so this also works the other way around? displaying variables from a picaxe?
Yes, it does. You can send data to a picaxe from vb.net and get data back. But it is a little complicated to set up.
Uh, yeah, its the whole sending/receiving bytes that I don't get
Ok, lets go back one step further.
Code:
b0=65
for b1=1 to 10
debug
pause 1000
next b1
Try running that. The picaxe debug will show the variables.
I don't know which picaxe chip you have, but assuming it is an O8M, put a led on physical pin 7 (output 0) and a 1k resistor to ground. Run that program again and the led should flash once a second. This led will be useful to see if data is going from the picaxe to the PC.
Next try
Code:
main:
serout 0,N2400,("A")
pause 1000
goto main
Your led should still be flashing again. Now, shut down the picaxe programmer software and start up a program like Hyperterminal. Set it up to read the serial port at 2400 baud and you should see AAAAA appearing on the screen.
If that works, then you can try receiving bytes in vb.net.
When that works, we can look at sending the data the other way from the PC to the picaxe (which is a little more complicated).
Sing out if you get stuck along the way.