Closed elcharo closed 1 month ago
Can you verify that you're using the correct values (listed below)? I just recently tested this particular function and it was working just fine.
#define INDOOR 0x12
#define OUTDOOR 0xE
Closing, but please reopen if you're still having problems
I can´t write this option. Return 0 in serial monitor.
// REG0x00, bits [5:1], manufacturer default: 10010 (INDOOR). // This function changes toggles the chip's settings for Indoors and Outdoors. void SparkFun_AS3935::setIndoorOutdoor(uint8_t _setting) { if (((_setting != INDOOR) && (_setting != OUTDOOR))) return;
}