Adafruit_Seesaw
Adafruit_Seesaw copied to clipboard
Soil sensor LED unusable
The soil sensor LED or PA27 cannot be controlled via seesaw.
Because the CONFIG_ACTIVITY_LED define for board SOIL defaults to 0. So
#define CONFIG_GPIO_MASK (((unsigned long long) 0xFFFFFFFFFFFFFFFF) ^ ( ((uint64_t)CONFIG_USB << CONFIG_USBPIN_USB_DM) | ((uint64_t)CONFIG_USB << CONFIG_USBPIN_USB_DP) \
| ((uint64_t)CONFIG_ADDR << PIN_ADDR_0) | ((uint64_t)CONFIG_ADDR << PIN_ADDR_1) \
| ((uint64_t)CONFIG_ADDR_2 << PIN_ADDR_2) | ((uint64_t)CONFIG_ADDR_3 << PIN_ADDR_3) \
| ((uint64_t)CONFIG_ADDR_4 << PIN_ADDR_4) \
| ((uint64_t)CONFIG_ACTIVITY_LED << PIN_ACTIVITY_LED) | ((uint64_t)CONFIG_POWER_SENSE << CONFIG_POWER_SENSE_NEOPIX_PIN) \
Bit 27 is always masked out! What's the point of the LED if you can't use it?