I have a problem that’s killing me, although I expect it’s something simple. I’d basically like to have an xbee with a PWM output that controls a LED, and send values from a computer. I looked the tutorial “PWM output with an LED”, configured the XBee module and wired it, and I also configured the emitter XBee correctly, but I cannot for the life of me figure out what I should say (by terminal) to the first one so that the intensity of the LED varies.
Basically we’re talking about saying “put the PWM output to 127” (or whatever value).
However both do not communicate, and I would be surprised if they did: on the potentiometer side, the xbee is configured to take an analog input and transmit it. On the receiver side, the module is configured as PWM output, but nowhere is it told based on what this PWM output should be set. So both do not communicate, and I also don’t know how to transmit this PWM information from a PC connected to a xbee module.
I’m sorry if this is not clear, I have the impression that I’m missing something big here, so I can’t phrase it better…