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: libmDot-mbed5 ISL29011
LD100_util.h
00001 #ifndef __LD100_UTIL_H__ 00002 #define __LD100_UTIL_H__ 00003 00004 #include "mbed.h" 00005 #include "mDot.h" 00006 00007 /** 00008 * Turn On/Off D4 LED on LD100 board 00009 * 00010 * @param OnOff true to turn on, false to turn off 00011 * 00012 */ 00013 void LED_D4(bool OnOff); 00014 00015 /** 00016 * Turn On/Off D5 LED on LD100 board 00017 * 00018 * @param OnOff true to turn on, false to turn off 00019 * 00020 */ 00021 void LED_D5(bool OnOff); 00022 00023 /** 00024 * Turn On/Off D6 LED on LD100 board 00025 * 00026 * @param OnOff true to turn on, false to turn off 00027 * 00028 */ 00029 void LED_D6(bool OnOff); 00030 00031 /** 00032 * Initialize on board TCA6424 00033 * 00034 * @return 0 mean OK 00035 * 00036 */ 00037 int TCA6424_init(); 00038 00039 00040 #endif
Generated on Wed Jul 13 2022 00:37:31 by
1.7.2