ulisp icon indicating copy to clipboard operation
ulisp copied to clipboard

I2C doesn't work on AVR128DX48

Open technoblogy opened this issue 2 years ago • 0 comments

It turns out that on the AVR128DX28 and AVR128DX48 I2C doesn’t work if you turn on the internal pullups on the SDA and SCL lines. The solution is to comment out the following lines in the AVR uLisp 4.0b source:

// pinMode(PIN_WIRE_SDA, INPUT_PULLUP); // pinMode(PIN_WIRE_SCL, INPUT_PULLUP);

Thanks to Will Carr for reporting this.

technoblogy avatar Sep 05 '21 07:09 technoblogy