Hi,
I added a parity bit to the sent data, between the 8bit data and STOP and made the word length 11 instead of 10. (START - 8bit data - 1bit parity- STOP) I know the data is sent correctly, but i have trouble receiving it. I tried modifying is_a_word(), but I can't seem to separate the parity bit. Also, the STX probably isn't received, as you can see in the picture.
Could you show me how to modify the receiver code to separate the parity bit?
Thanks a lot for your reply...
To integrate parity to the bits there is quite a lot to be modified on the receiver side. There is the frame format, the start/stop mask and the sync word mask.
Hi, I added a parity bit to the sent data, between the 8bit data and STOP and made the word length 11 instead of 10. (START - 8bit data - 1bit parity- STOP) I know the data is sent correctly, but i have trouble receiving it. I tried modifying is_a_word(), but I can't seem to separate the parity bit. Also, the STX probably isn't received, as you can see in the picture. Could you show me how to modify the receiver code to separate the parity bit? Thanks a lot for your reply...