Also it d be good if it could be programmed from arduino uno.
Does this include some commands that those attiny85 doesnt support?
pinMode(11, OUTPUT); // green LED
I'd assume ATmega168. I like how they say "replace Atmega328" like it's some kind of an upgrade. I compiled the provided code for ATmega168 and it will fit with room to spare but since there's usually almost no price difference between ATmega168 and ATmega328P based Pro Mini clones I'd get the ATmega328P instead to have some room to grow.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16