ジャパンオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
minilib/switch.h@38:67bc78f3c0ab, 2016-03-27 (annotated)
- Committer:
- lilac0112_1
- Date:
- Sun Mar 27 13:04:39 2016 +0000
- Revision:
- 38:67bc78f3c0ab
- Parent:
- 0:ea35c18c85fc
JapanSoccerOpen2016 CatPot Program(main)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lilac0112_1 | 0:ea35c18c85fc | 1 | #ifndef _SWITCH_H_ |
lilac0112_1 | 0:ea35c18c85fc | 2 | #define _SWITCH_H_ |
lilac0112_1 | 0:ea35c18c85fc | 3 | |
lilac0112_1 | 0:ea35c18c85fc | 4 | void Sw_sample(void); |
lilac0112_1 | 0:ea35c18c85fc | 5 | // return number of rising edges |
lilac0112_1 | 0:ea35c18c85fc | 6 | uint8_t Sw_count(uint8_t pin); |
lilac0112_1 | 0:ea35c18c85fc | 7 | // return the debounced status |
lilac0112_1 | 0:ea35c18c85fc | 8 | |
lilac0112_1 | 0:ea35c18c85fc | 9 | uint8_t ReadSw(void); |
lilac0112_1 | 0:ea35c18c85fc | 10 | uint8_t CountSw(uint8_t pin); |
lilac0112_1 | 0:ea35c18c85fc | 11 | #endif /*_SWITCH_H_*/ |