Adafruit_TestBed.h
Adafruit_NeoKey_1x4.h
seesaw_neopixel.h
Im sure there are others.
The basic example of I2C_Scan under AdaFruit Testbed does not work, i have no serial output.
I modified Adafruit_TestBed.h on this line :
Code: Select all
TwoWire *theWire = &Wire1; ///< The I2C port used in scanning
Code: Select all
#include <Adafruit_TestBed.h>
extern Adafruit_TestBed TB;
#define DEFAULT_I2C_PORT &Wire1
void setup() {
Serial.begin(115200);
Serial.println("Adafruit I2C Scanner");
Wire1.setPins(SDA1, SCL1);
}
void loop() {
delay(3000); // wait 3 seconds
Serial.println("");
Serial.println("");
Serial.print("Default port (Wire1) ");
TB.theWire = DEFAULT_I2C_PORT;
TB.printI2CBusScan();
delay(3000); // wait 3 seconds
}
Please review the libraries, I would prefer not use micropython. My project is very simple, I have made the neokey 1x4 work with micropython, but im using arduino IDE inseatd. Its what I'm familiar with and have a ton of working code in C++...
Just getting Arduino OTA working with the ESP32-S2 was hard enough, not getting the purple blink of death took me a week.