Digital Putput Pin Configuration


I’ve connected my xbee module via uart to my computer and ive got an led attached to pin 20, DIO0. By configuring the pin to low or high i can turn the led on or off. great so far.
But everytime i issue the at command the module needs at least 2 seconds to change turn the led on or off, sometimes it doesnt work at all.
did anyone encounter the same problem?

Are you ‘applying’ the change? By default the Xbee buffers your request just in case you have 2 or 3 more to be applied at the same time. Read up on the AC/Apply Change command.

Yeap I’m applying the changes. And I get an OK in return.