ジャパンオープン用のメインプログラム

Dependencies:   mbed AQM1602 HMC6352 PID

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers switch.h Source File

switch.h

00001 #ifndef _SWITCH_H_
00002 #define _SWITCH_H_
00003 
00004 void Sw_sample(void);
00005 // return number of rising edges
00006 uint8_t Sw_count(uint8_t pin);
00007 // return the debounced status
00008 
00009 uint8_t ReadSw(void);
00010 uint8_t CountSw(uint8_t pin);
00011 #endif /*_SWITCH_H_*/