technoblogy / ulisp

A version of the Lisp programming language for ATmega-based Arduino boards.

Home Page:http://www.ulisp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I2C doesn't work on AVR128DX48

technoblogy opened this issue · 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.