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

Dependencies:   mbed AQM1602 HMC6352 PID

minilib/switch.h

Committer:
lilac0112_1
Date:
2016-05-01
Revision:
0:b910276f9da2

File content as of revision 0:b910276f9da2:

#ifndef _SWITCH_H_
#define _SWITCH_H_

void Sw_sample(void);
// return number of rising edges
uint8_t Sw_count(uint8_t pin);
// return the debounced status

uint8_t ReadSw(void);
uint8_t CountSw(uint8_t pin);
#endif /*_SWITCH_H_*/