bosko lekovic
/
IO_board
IO plocana FRDM K64
Diff: ZeroCrossing/IOzcControl.h
- Revision:
- 15:3429cdc6e5f4
- Parent:
- 7:4aa3dac73b66
diff -r b63e4664e2a8 -r 3429cdc6e5f4 ZeroCrossing/IOzcControl.h --- a/ZeroCrossing/IOzcControl.h Sat Apr 24 21:26:03 2021 +0200 +++ b/ZeroCrossing/IOzcControl.h Fri Apr 30 00:06:39 2021 +0200 @@ -9,7 +9,7 @@ #define HIGHER_THEN( val, min) (val > min ? true : false) #define IN_RANGE( val, min, max) (LOWER_THEN( val, max ) && HIGHER_THEN(val, min)) ? true : false -#define CHECK_PERIOD 1000000 // 1S = 1000.000 uS +#define CHECK_PERIOD 1000000 // 1S = 1.000.000 uS #define LOW_FREQ 40 // Hz #define HIGH_FREQ 70