ROBOTIS-GIT / OpenRB-150

OpenRB-150 controller Arduino board manager
https://emanual.robotis.com/docs/en/parts/controller/openrb-150
Apache License 2.0
7 stars 3 forks source link

I2C does not pull up. #8

Closed u26 closed 1 year ago

u26 commented 1 year ago

When I run Wire.begin(); sda,scl pin looks not pull up.

I checked source code variant.h and pin 11,12 is used to i2c sda/scl. so I connect the i2c device to pin 11,12. but does not work. thanks.

// Wire Interfaces
// ---------------
#define WIRE_INTERFACES_COUNT 1

// Wire
#define PIN_WIRE_SDA        (11u)
#define PIN_WIRE_SCL        (12u)
#define PERIPH_WIRE         sercom0
#define WIRE_IT_HANDLER     SERCOM0_Handler
static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;
u26 commented 1 year ago

this is for R17/R18 register is not on the board. when I add register on the board. it works. thanks.