Are you referring to the candle project? I'll have look at it. They are using an attiny85 though, not an 84. I'll see if i can dissect the code to get what I need.
So I tried using their code and adapting it to my needs without much success...
I've got my code working on an Uno, but I can't get it ported to the ATTINY84
I'm using the RTC library by cvmanjoo.
Please post that code here. There are surely helpers knowing the ATTINY84 that can step in and continue. I'm UNO guy only, so far.
I've flagged Your last post for this helper.
What is actually happening and what is wanted to happen? The code looks universal, okey, but You can check up the libraries, which controllers they are written for.
From what I understand the "wire" library can only be used with arduino's that have hardware I2C ports. The ATTINY has some multi purpose pins which can function as I2C pins but they require a different library like "TinyWireM". I've tried the naive appoach of replacing "#include Wire.h" with "#include TinyWireM.h" but I suspect I need to somehow tell the RTC library to use TinyWireM.
SInce there's no library which is specifically made to for the PCF8563 and the ATTINY (that I know of) I'm kinda stuck.