Main Menu

search

You are here

DigiSpark i2C

[last updated: 2016-08-19]
-----

I want to set up i2C communication between DigiSpark boards.
I'm just starting the research/development process ...
--------------------------

I see my installation of DigiSpark on Arduino IDE 1.6.10 has a TinyWireM library to be used in a "master" configuration. This is used like for driving a 16x2 LCD screen. But I have to find a TinyWireS library for a slave unit, that was referred to in one of the forums.


Successfully downloaded same from GitHub. Unzipped and coped to Documents/Arduino/Libraries


Struggling to get libraries to work. I'm still pretty low on the learning curve. Decided to get i2C up and running on Uno's first, which should be more straight-forward.
--------------------------

Update:

Somewhere in the process I went back to IDE 1.6.9.
--------------------------

Hardware note: be sure to use 4.7k (for 5v) pullup resistors on the I2C lines.
--------------------------
Software:
Current rev of sketch - see: programs, all
--------------------------

.

.

.

eof