number var byte
number=number+16 will increment high nibble
I had to use a 4,7µF capacitor to finally get a nice clean signal :)
Thank you for the explanation too. I'll have a go for some tests with the formulas; this is going to be the...
a byte can hold a value between 0 and 255
255 + 1=0
It can't be that simple?
What if there were more than 2 Bytes like 10?
No it's not a weatherstation, more like a entry door counter.
I guess it doesn't want to be a beam break detector it wants to talk to remote controllers
Not sure if this helps but I've been watching the receiver on my scope and I've noticed that if I cover the emitter slowly then the received pulses get progressively shorter in the split second...
With 10 cycles per burst I set the gap to 1.8ms but I still get the problem. I also tried a 2.63ms gap and it didn't happen as easily but it still happens. I could deal with a gap of 1.8ms but it...
it can't become a word if the var is declare as a byte it just rolls over .
Payload var byte
btw the transmitter its not a fineoffset weatherstation ?
Right. That's simple.
Problem is when they add up greater than 256 becoming a WORD.
what happens if you send a cycle of say 100 10cycle bursts then a pause for 400uS then repeat
There is no content in this section