rotary and logic integrated, rotary not working good

This commit is contained in:
Wolfgang Hottgenroth
2017-05-31 17:45:45 +02:00
parent 209e1bd1c5
commit 56f96e5f26
17 changed files with 555 additions and 85 deletions

21
my_src/timer.h Normal file
View File

@ -0,0 +1,21 @@
/*
* timer.h
*
* Created on: May 31, 2017
* Author: wn
*/
#ifndef TIMER_H_
#define TIMER_H_
typedef enum {
IDLE = 0,
STARTED = 1,
RUNNING = 2,
OVERRUN = 3
} tTimerState;
void secondTick(void *handle);
void startTimer();
#endif /* TIMER_H_ */