When i trying to use the BS2 sampel code i does not work at all, isīt the BS2 SERIN/SEROUT comand like PBPīs SEROUT2/SERIN2?
Whats wrong.
Code:
SERIN2 reciverpin, 16468, [WAIT("!"), x.HIGHBYTE, x.LOWBYTE, y.HIGHBYTE, y.LOWBYTE]
Code:
PULSOUT TransmitterPIN, 1200
SEROUT2 TransmitterPIN, 16468, ["!", x.HIGHBYTE, x.LOWBYTE, y.HIGHBYTE, y.LOWBYTE]
This at least works.. it counts from 0 to 255 whit maby a total off 1 - 10 numbers that are wrong, maybe thats normal and i must let that problem over to the program to handle.
And it only work whit True mode not whit Inverted...
Code:
SEROUT transmitterpin,T2400,[synk,synk,synk,synk,9,Counter]
Code:
SERIN reciverpin,T2400,[9],Counter
But i still wonder why the BS2 code doesīt work at all, i shold do that i think?
Bookmarks