Using fullduplexserialplus object
dr hydra
Posts: 212
I am using the fullduplexserialplus object to send information from a PC to the propeller. I am also using a tv video object to display results on a tv screen. The tv display has some animated graphics that are updated every 1/60th sec based on the vsync. However, the getDec function in the fullduplexserialplus object freezes the animation as it pause the program until the "return" key is pushed on the pc. Is there a different function that I can use to check the rxbuffer for information and continue the program instead of waiting for the "return" key and pausing the animation? Or do I need to separate the functions into different cogs?
Comments
I have one more quick question(I do not have my propeller with me)...on the PC side..the serial program only sends the char when the 'return' key is entered. Therefore, the last byte sent will always be the return key...does using the checkrx() only return the 'return' (chr$13) or does it return the value entered on the PC before the return key?