Member Since: August 16, 2011

Country: Canada

  • For the Leonardo, there are a few changes that you need to make.

    1. Use the level-shifter as they suggest.
    2. Use pin 0 as the interrupt, and set the interrupt number to 2. This is because interrupts are attached to different pins on the Leonardo and pins 2/3 (which are also interrupts 1/0) are connected to SDA/SCL.
    3. Add a delay after Serial.begin (10 ms should do, though I used 100).
  • Uhoh, I think I shorted a connection on that last solder point!