Page 1 of 1

LED state inverted?

Posted: Mon Mar 07, 2022 7:32 pm
by mrbubba
The state shown for LED components and what happens on the device appears to be inverted. "Feeds" page also shows LEDb with a value of 0 (and LED is 1). Is this intended?
Data in the packet when moving the switch to "On" is:
D [0x44], 2 [0x32], [0x12], [0x01], 1 [0x31]
which seems to confirm that a value of 1 is being received by the device, yet the LED goes out.
When moving to "Off" the packet as expected contains:
D [0x44], 2 [0x32], [0x12], [0x01], 0 [0x30]
but the LED turns on.
AdafruitIO_LEDstatus.png
AdafruitIO_LEDstatus.png (621.17 KiB) Viewed 75 times

Re: LED state inverted?

Posted: Wed Mar 09, 2022 12:59 pm
by brubell
This functionality is expected and documented for the ESP8266. This inverted LED state is only for the ESP8266, it's because of how the Feather ESP8266's LED is wired internally. I noted this in the guide (https://learn.adafruit.com/adafruit-fea ... 3110605-26).

I've filed an issue directly on our issue tracker here, https://github.com/adafruit/Adafruit_Wi ... issues/229