-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
This is a two parter:
I've been trying to initialize an I2C led for my microbit to no avail. I keep getting an O90 error. It's the same story of trying to follow documentation and not getting it to work. My microbit is set up so that it uses the default pins for i2c. Here's the code that I'm using to try to get it to work:
#include "MicroBit.h"
#include "MicroBitI2C.h"
MicroBit uBit;
MicroBitI2C i2c(I2C_SDA0,I2C_SCL0);
int main() {
uBit.init();
}I'm really not sure why it wouldn't work as I'm pretty sure this is what the documentation says, from what I've gathered. I should also mention that I've gotten the I2C led to work with Microsoft Makecode, so I know that it's connected properly.
Additionally, on line 50 of MicroBitI2C.cpp there's a dead link.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels