せとうちオープン用のメインプログラム

Dependencies:   mbed AQM1602 HMC6352 PID

Committer:
lilac0112_1
Date:
Sun May 01 06:30:37 2016 +0000
Revision:
0:b910276f9da2
from 2v10

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lilac0112_1 0:b910276f9da2 1 #ifndef _SWITCH_H_
lilac0112_1 0:b910276f9da2 2 #define _SWITCH_H_
lilac0112_1 0:b910276f9da2 3
lilac0112_1 0:b910276f9da2 4 void Sw_sample(void);
lilac0112_1 0:b910276f9da2 5 // return number of rising edges
lilac0112_1 0:b910276f9da2 6 uint8_t Sw_count(uint8_t pin);
lilac0112_1 0:b910276f9da2 7 // return the debounced status
lilac0112_1 0:b910276f9da2 8
lilac0112_1 0:b910276f9da2 9 uint8_t ReadSw(void);
lilac0112_1 0:b910276f9da2 10 uint8_t CountSw(uint8_t pin);
lilac0112_1 0:b910276f9da2 11 #endif /*_SWITCH_H_*/