Use a LCD i2c with attiny84: Difference between revisions
Jump to navigation
Jump to search
(Created page with " Using an ATtiny84 to drive an i2c LCD screen. ==Target Hardware== * ATtiny84 MCU * LCD display with i2c adaptor board. ==Libraries installation== Three libraries are requ...") |
|||
Line 17: | Line 17: | ||
===Tiny Core=== | ===Tiny Core=== | ||
The tiny core will need to see the new.cpp and new.h from the arduino core. An easy way get this working is to copy the file. | |||
On Linux platform this will be something like | |||
cp /usr/share/arduino/hardware/arduino/cores/arduino/new.* /home/user/sketchbook/hardware/tiny/cores/tiny/ |
Revision as of 22:43, 24 April 2015
Using an ATtiny84 to drive an i2c LCD screen.
Target Hardware
- ATtiny84 MCU
- LCD display with i2c adaptor board.
Libraries installation
Three libraries are required.
- The tiny core. https://code.google.com/p/arduino-tiny/
- TinyWireM. This one is different from the official one has it support ATtiny84. http://www.scenelight.nl/?wpfb_dl=22
- LiquidCrystal. https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip
Libraries Modification
Tiny Core
The tiny core will need to see the new.cpp and new.h from the arduino core. An easy way get this working is to copy the file. On Linux platform this will be something like
cp /usr/share/arduino/hardware/arduino/cores/arduino/new.* /home/user/sketchbook/hardware/tiny/cores/tiny/