Problem with Simple_Serial
marcla
Posts: 19
Hello!
I made a program who acts like a mirror example: I send "h" to the propeller and it sends back "h"
but there is a little problem when i start the propeller and send a·letter to the·propeller form hyper terminal·i·always gett "ÿ" as the first letter why?
And her is my code:
I made a program who acts like a mirror example: I send "h" to the propeller and it sends back "h"
but there is a little problem when i start the propeller and send a·letter to the·propeller form hyper terminal·i·always gett "ÿ" as the first letter why?
And her is my code:
CON _CLKMODE = XTAL1 + PLL16X _XINFREQ = 5_000_000 OBJ serial : "Simple_Serial" VAR Byte Rx, Rx2 Pub Main serial.init(31, 30, 9600) repeat serial.tx(serial.rx)
Comments
If not then probably Hyperterminal is resetting the Propeller (because it raises DTR causing a reset).
Try PST (propeller serial terminal). It works great in conjunction with PropTool for loading code. Just cycle between the two programs without closing them. Unfortunately you cannot capture code with PST although cut and paste works.
the "ÿ" is 255