Control IHS1.1 board
Dependencies: mbed CLED Sensor
main.cpp
- Committer:
- maro
- Date:
- 2020-10-23
- Revision:
- 2:b5cde57c4400
- Parent:
- 0:f9d9c47faaf0
File content as of revision 2:b5cde57c4400:
// *** IHS ver1.1a *** // Sensor.hで設定 *** every/normal, single-board/cube/cube-dual(row-length) *** #include "mbed.h" #include "CLED.h" Sensor sensor(-70); // The smaller the value, the higher the height CLED cled(11); // IHSxx int main() { // ********************** get initial value ************************ cled.set(10); wait(1); sensor.set_adAryInit(); // set initial value // *************************** loop ******************************** while(1) { sensor.setAd(); } }