I have pin 13 (I2C1 SDA) going to the SDA of a 0.96" OLED, and pin 12 (I2C1 SCL) going to SCK on my OLED. I’m running the following code to try and find my device’s address. What is going wrong? I can’t seem to get anything to acknowledge.
UPDATE:
Pin naming on Daisy can be confusing. Use this:
i2c_conf.pin_config.scl = {DSY_GPIOB, 8}; // was 12
i2c_conf.pin_config.sda = {DSY_GPIOB, 9}; // was 13
Or even better, since it uses the actual IO names found on the pinout diagram:
Power and ground are connected.
Tried with the seed::Pin names, no dice yet.
I’m trying to find a thread I thought about needing external pull up resistors? I believe the OLED already has them.
So you got an OLED to acknowledge?
I just tried with 2 10K pullups to the “bus” with no luck.
Also made sure my power and ground pins had continuity, I though since the pins on the OLED breakout are kinda thick it might have stretched open the breadboard slot too much.
Alright I got it. For some reason when I changed the “message” to 0, instead of 42 which was chosen for the memes, I get both of my OLEDs responding at address 60.