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.
driverLifiRx.h
- Committer:
- JongYongPark
- Date:
- 2019-03-20
- Revision:
- 0:488aa8153e15
- Child:
- 3:ae1f53883bc0
- Child:
- 4:3ec60ea204c6
File content as of revision 0:488aa8153e15:
#ifndef __DRIVER_LIFI_RX_H__ #define __DRIVER_LIFI_RX_H__ #include "app.h" #include "lifiTranceiver.h" extern DigitalIn lifi_TxRx_ModePin; #if (USE_LOCAL_TICKER==0) extern Ticker lifi_rx_timer; #endif extern EventQueue lifi_tx_check_queue; extern AnalogIn adc_1; extern AnalogIn adc_2; extern AnalogIn adc_3; extern AnalogIn adc_4; extern int LifiRx_AdcRead(int num); // 0 (0v) ~ 1000 (3.3v) extern void LifiRx_Run(); extern void LifiRx_RunWithEventQueue(); extern int Lifi_IsRxMode(); extern void LifiRx_PdTunning(); extern double LifiRx_GetLux_Temt6000(double vol); extern float LifiRx_GetLuxFromPdVoltage(float volt_mili); #endif