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-04-09
- Revision:
- 21:82b5759f5047
- Parent:
- 5:5fe30df87772
File content as of revision 21:82b5759f5047:
#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 #if USE_MBED_OS5 extern EventQueue lifi_tx_check_queue; #endif extern AnalogIn adc_1; extern AnalogIn adc_2; extern AnalogIn adc_3; extern AnalogIn adc_4; extern DigitalIn led_rx_debug; 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); extern int LifiRx_GetDebugLed(); #endif