Open
Description
When using V3.0.5 of the library (included using the IDE package manage) compiling a sketch with the SX1509 library using the Arduino Nano ESP32 as the selected board it fails to compile with the following errors:
C:\<PATH>\Arduino\libraries\SX1509_IO_Expander\src/SparkFunSX1509.h:130:70: error: macro "pinMode" passed 3 arguments, but takes just 2
void pinMode(uint8_t pin, uint8_t inOut, uint8_t initialLevel = HIGH);
C:\<PATH>\Arduino\libraries\SX1509_IO_Expander\src/SparkFunSX1509.h:156:43: error: macro "digitalRead" passed 2 arguments, but takes just 1
bool digitalRead(uint8_t pin, bool *value);
Changing the board to Arduino Nano or Arduino Nano Every compiles correctly.
Metadata
Metadata
Assignees
Labels
No labels