ATTiny 85 + Pushbutton to Control RGB LED light strip

preview_player
Показать описание
In an attempt to miniaturize some projects, I decided to use an Atmel Tiny 85 chip. In this project I am using the ATTiny to drive an RGB LED light strip. The pushbutton cycles through 6 colors, plus an "off" state.

The code for this is borrowed from all over the web, and it can be found here:
Рекомендации по теме
Комментарии
Автор

this is awesome and cool.
but why the code have an error?
the error is:

sketch_mar28a:31: error: 'Bounce' does not name a type
sketch_mar28a.ino: In function 'void loop()':
sketch_mar28a:55: error: 'bouncer' was not declared in this scope

please help me solved this error.
thanks.

AmeerZhariff
welcome to shbcf.ru