adding fadeing LED's to digital hourglass library

Hi,

I have a library for making a digital hourglass with arduino for my lamp project. The problem I am encountering is that I would like to add a fadeing effect on each LED (both in and out) but I cannot manage to encode it in the library.

If someone is keen to help me with this I would be very grateful.

I have attached the library for you to look at, the library is all correct except it's missing the fadeing effect for the LED's.

Thank you in advance,

p08_DigitalHourglass.ino (1.93 KB)

(deleted)

my bad, i meant sketch and not library. I need help with the coding in the sketch attached.

Andypandi:
(...)
but I cannot manage to encode it in the library.
(...)

I still thinking that you may need to send the library.