first lib
Dependents: 17robo_fuzi 17robo_tokyo_kaede
Diff: bit_test.h
- Revision:
- 0:81eadcca6267
diff -r 000000000000 -r 81eadcca6267 bit_test.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bit_test.h Sun Sep 24 05:24:41 2017 +0000 @@ -0,0 +1,13 @@ +/**************************************** +int bit_test(int data, int bit_number); +データのビットが1なら1を返す +****************************************/ + +#ifndef MBED_BIT_TEST_H +#define MBED_BIT_TEST_H + +#include "mbed.h" + +int bitTest(int dataByte, int bitNumber); + +#endif \ No newline at end of file