xbee-arduino | Arduino library for communicating with XBee radios
kandi X-RAY | xbee-arduino Summary
kandi X-RAY | xbee-arduino Summary
Arduino library for communicating with XBee radios in API mode
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of xbee-arduino
xbee-arduino Key Features
xbee-arduino Examples and Code Snippets
Community Discussions
Trending Discussions on xbee-arduino
QUESTION
I have one XBee-Arduino transmitting a simple int counter to a receiver XBee-Arduino. The receiver prints fine until it gets to 16 and beyond. This is an example of my outputs:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 48 17 50 19 52 21 54 23 56 25 26 59 28 61 62 63 64 65 98 67 68 69
I have tried new XBees and the XBees do not seem to be the problem.
Transmitter Code:
...ANSWER
Answered 2019-Mar-29 at 09:29The incorrect numbers are different by one bit.
This could be caused by different timing when reading the serial line, especially at high baud rates (Software serial isn't particularly reliable at the higher baud rates). You can see where a bit has drifted into the timing for an adjacent bit e.g.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xbee-arduino
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page