Frederick Huang / Mbed OS LD100-Examples-201907

Dependencies:   libmDot-mbed5 ISL29011

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LD100_util.h Source File

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