ATTiny84 With 16x2 LCD using I2C

Hi, I'm very new to this so please go easy on me :stuck_out_tongue:

I have recently successfully written a sketch which enabled me to use a 16x2 I2C serial enabled display with a ATTiny85 MCU. I used the Arduino as ISP to program it and all has been well. I now want to expand the project a little which means I need a few more I/O pins. So, I have started experimenting with the ATTiny84. I managed to find the libraries I needed for the smaller ATTiny85 to enable the I2C and LCD display.

When trying to find libraries for the ATTiny84 there doesn't seem to be as much interest.

I have successfully uploaded and tested sketches to the ATTiny84 but I am having no luck with the I2C or LCD libraries.

Has anyone successfully managed to get the 84 working with an I2C serial enabled LCD? If you did I would very much like to see which library files you used.

Many thanks in advance.

It seems I misread the datasheet for the pin-out and it now works.

For those that are interested I found this guide to be useful:-

http://lechacal.com/wiki/index.php/Use_a_LCD_i2c_with_attiny84

The section below didn't make sense to me so ignored it and it still works:-

" 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 files. On Linux platform this will be something like
cp /usr/share/arduino/hardware/arduino/cores/arduino/new.* /home/user/sketchbook/hardware/tiny/cores/tiny/
Note. If using arduino IDE version 1.5 and above you will need to copy the new.h and new.cpp from an older version of the IDE. These are given here. new.cpp new.h "

Hope this helps some people that are struggling with this :slight_smile: