And you STILL DID NOT put those semicolons....
Also I would choose a different setup for the serin command. Maybe with a time out and a wait character.This would require the Serin2 though...
Ioannis
P.S. Also why don't you try simple things first, like send one character then two and see what happens. After that try the manchester encoding and if succesful try the CRC or checksum. Take it step by step. You program is too long to follow and debug. About this routines (manchester and CRC) there are link on this forum. Do a search and find. One is Melanies and one is mine.
Bookmarks