Ultimately I would like to send data to and from a Picaxe chip through Matlab.
That's the little test program I am using just now. It works when I am using the terminal (built into the programming editor) but it doesn't work properly with either Matlab or Termite (a serial terminal).
I can receive data with both Matlab and Termite but I cannot send it. Sending works with programming editor terminal only when 5ms delay option is used (if it is not ticked then I can't send data). This makes me think the 5ms delay is necessary for Picaxe communication. However, other people have managed to connect Picaxe's to computers so I suspect I might be doing something wrong!
Jonathan
Edit: it appears that if I remove the qualifier I can send text with Termite but obviously I neeed a qualifier because it doesn't work correctly without one.
Code:
main:
SERRXD [1000],("ABC"),#b1,#b0
SerTxd(#b1,#b0,lf,cr)
goto main
I can receive data with both Matlab and Termite but I cannot send it. Sending works with programming editor terminal only when 5ms delay option is used (if it is not ticked then I can't send data). This makes me think the 5ms delay is necessary for Picaxe communication. However, other people have managed to connect Picaxe's to computers so I suspect I might be doing something wrong!
Jonathan
Edit: it appears that if I remove the qualifier I can send text with Termite but obviously I neeed a qualifier because it doesn't work correctly without one.
Last edited: