Thanks for the information Bruce.
My input signal appears to be high and fairly noisy with pulses low - I really need a real scope
If I read the code you provided correctly, it shouldn't reach GOTO GET_ADD without receiving a full pulse (or at least a full initial pulse)
Mine's running all the way through without thinking about it, even with a resistor to gnd and no actual signal.
I don't have a uart hooked up to this board at the moment so I'm just storing the values in eeprom - they're all showing up as 0's
- Edit
Oh dear, spoze if it wasn't 3 am and I'd had some coffee I would have done some thinking
1) 4 mhz clock (getting 20 mhz crystals tomorrow, ran out)
2) This is probably a one off - so at the very least I can look for 4 high pulses at the start, if not look specifically for more components of the bitstream
I'll go to bed now and resume banging head on desk tomorrow.
Bookmarks