Chuck Minton
11-23-2010, 09:26 PM
Thanks to those helping with my bit problem shift problem.
Now onto my next issue...in new thread
I am trying to implement a display that has integral buttons. When a button is pushed, the display sends a serial packet. for instance the notification packet when the left button is pushed is supposed to be $80 01 03 63. Using ParallaxSerialTerminal I get 100% of button push all the time. However, because I was out of cogs, forum suggestions pointed to the PCFullDuplexSerial4FC. I got that going, but now I don't get proper reading from my serial sources but It sees to transmit well. Most of the time I rx the first byte right , then the second and third byte seems to be usually wrong(but quasi consistent), and the forth byte is always right. I am thinking there must be a timing issue ... why else would PST read right all the time... none the less it did free up a cog! I will be able to fit it all on one prop!
The good part is if I can figure this out, I will be more or less to the completion point of my project... getting so close!
I tried switching baud from 115200 to 19200 ( my only options)... That was worse ... could write but would not read it at all.
So, If any one is up on PCFullDuplexSerial4FC, and what may be causing this and how I could fix it I would appreciate it a whole lot.
(Using a Crystal Fontz Logic Level display)
Thanks ,
Chuck
Now onto my next issue...in new thread
I am trying to implement a display that has integral buttons. When a button is pushed, the display sends a serial packet. for instance the notification packet when the left button is pushed is supposed to be $80 01 03 63. Using ParallaxSerialTerminal I get 100% of button push all the time. However, because I was out of cogs, forum suggestions pointed to the PCFullDuplexSerial4FC. I got that going, but now I don't get proper reading from my serial sources but It sees to transmit well. Most of the time I rx the first byte right , then the second and third byte seems to be usually wrong(but quasi consistent), and the forth byte is always right. I am thinking there must be a timing issue ... why else would PST read right all the time... none the less it did free up a cog! I will be able to fit it all on one prop!
The good part is if I can figure this out, I will be more or less to the completion point of my project... getting so close!
I tried switching baud from 115200 to 19200 ( my only options)... That was worse ... could write but would not read it at all.
So, If any one is up on PCFullDuplexSerial4FC, and what may be causing this and how I could fix it I would appreciate it a whole lot.
(Using a Crystal Fontz Logic Level display)
Thanks ,
Chuck