ulisp
ulisp copied to clipboard
I2C doesn't work on AVR128DX48
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.