Rev 14 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| Download
| RSS feed
/*
* switches.h
*
* Created on: 6 Aug 2016
* Author: Mike
*/
#ifndef INC_SWITCHES_H_
#define INC_SWITCHES_H_
#define MAX_SWITCHES 6
#define MAX_DIALS 2
#define MAX_PUSHBUTTONS 2
#define DEBOUNCE_TIME 10
extern volatile int dial_pos[MAX_DIALS];
extern volatile int push_pos[MAX_PUSHBUTTONS];
extern void reset_dial(int dial,int value);
extern void HandleSwitches(void);
#endif /* INC_SWITCHES_H_ */