When I activate a PWM output, I have my led that turns on. Then when I want to turn on or off a led that is on a digital output, in both cases my led that is on my pwm goes out. Do you know why ?
I work in API mode, with a coordinator and an end device
Sounds like you are using the wrong function in the DIO sample section. Try using a Sample rate instead of a change detect. Also update your firmware to 10EF.