release 0.1
This commit is contained in:
@@ -4,10 +4,21 @@
|
||||
#include <Arduino.h>
|
||||
#include <vector>
|
||||
#include "JC_Button.h"
|
||||
#include "led.h"
|
||||
|
||||
bool anybutton( void );
|
||||
void initButtons( void );
|
||||
void handleButtons( void );
|
||||
ToggleButton* getButton(unsigned int index);
|
||||
class c_button : public ToggleButton
|
||||
{
|
||||
const e_ledcolor _color;
|
||||
|
||||
public:
|
||||
c_button(uint8_t pin, e_ledcolor color) : ToggleButton(pin), _color(color){}
|
||||
e_ledcolor getColor( void ){return _color;}
|
||||
|
||||
};
|
||||
|
||||
bool anybutton(void);
|
||||
void initButtons(void);
|
||||
void handleButtons(void);
|
||||
c_button *getButton(unsigned int index);
|
||||
|
||||
#endif //BUTTONSH
|
||||
Reference in New Issue
Block a user