Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CLED Sensor
main.cpp
00001 // *** IHS ver1.1a *** 00002 // Sensor.hで設定 *** every/normal, single-board/cube/cube-dual(row-length) *** 00003 #include "mbed.h" 00004 #include "CLED.h" 00005 00006 Sensor sensor(-70); // The smaller the value, the higher the height 00007 CLED cled(11); // IHSxx 00008 00009 int main() { 00010 // ********************** get initial value ************************ 00011 cled.set(10); 00012 wait(1); 00013 sensor.set_adAryInit(); // set initial value 00014 // *************************** loop ******************************** 00015 while(1) { 00016 sensor.setAd(); 00017 } 00018 }
Generated on Sat Jul 30 2022 14:00:48 by
1.7.2