Help with LED Lamp concept.

strykeroz:
Hi,

Just wondering what pin definitions you use in place of these on the ATTiny85 version?

// Output pins for PWM

#define  R_PIN  3  // Red LED
#define  G_PIN  5  // Green LED
#define  B_PIN  6  // Blue LED


As there is no D6 on that uC I'm hoping your ATTiny85 version was using 0, 1 and 4 (physical legs 5,6 & 3) which have hardware PWM support for that analogWrite() later in the sketch.

Cheers ! Geoff

Sorry I posted the sketch for the Arduino.

On the at85 I use 3,Red 0,Green 1,Blue.