Got a brain teaser for the Xbee community. If one wanted to send PWM signal from one location and two seperate pieces of sensor data back to that location from the second Xbee, what is the most efficient way???
The idea here is a remote with an Arduino Mega and Xbee 802.15.4 sending PWM control signals to a robot platform while the platform (also a Arduino Mega and Xbee 802.15.4) sends back data from a magnometer and a temperature sensor. The sensor data will be used as input for a LCD screen.
Before this is ignored, I have read all the documentation I can find on the Xbee's and their implimentation. I have managed to send specific data to a DIO pin and received it at the other end. I have also managed to send PWM signal via an Xbee. I run into trouble when I try to do both at the same time.
The code I have written is extremely long and the setup for the xbee is straight out of refrences from this forum and tutorials. Im not looking for completed code, just a solid idea of how to proceed from a fellow tech with some experience. I will figure out the details.
Thanks for the read.