rookie / Serenity

Jar of Fireflies project for the arduino
2 stars 0 forks source link

Add ability for one pwm to control multiple leds #5

Open rookie opened 14 years ago

rookie commented 14 years ago

while the pwm can only light up one at a time. the other leds are in different positions and will add to the randomness

rookie commented 14 years ago

api nightmare, any suggestions welcomed.

Firely.port(PWMPIN) Firefly.addControlPin(nonPWMPIN) Firefly.addControlPin(nonPWMPIN2) Firefly.addControlPin(nonPWMPIN3) //have a predetermined max for number we can add.