Generates a test signal on an AnalogOut and monitors a signal on an AnalogIn, plotting the test signal or the actual signal depending on a conditional compile. The wait() and wait_ms() library calls for this board are highly inaccurate so a new function is provided to wait for X number of milliseconds -- which is not very accurate.
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI
Diff: LaserMon-Main.h
- Revision:
- 2:cbcf2695a4a1
- Parent:
- 1:b9d4b9b8884c
--- a/LaserMon-Main.h Fri Jun 14 21:11:31 2019 +0000 +++ b/LaserMon-Main.h Mon Jun 17 17:11:07 2019 +0000 @@ -8,6 +8,9 @@ #define TEST_SIGNAL_OUT PA_5 #define LASER_SCAN_IN PC_1 +#define TEC_VOLTAGE_IN PC_3 +#define USE_SERIAL_TX PA_9 +#define USE_SERIAL_RX PA_10 // ---------------------------------------------------------------------- // Defined constants and MACROs @@ -37,6 +40,8 @@ // // ---------------------------------------------------------------------- +extern void LaserMonMainInformScanInformation(uint16_t u16_scanLength, uint16_t u16_scanCount); +extern void LaserMonMainInformTECVoltage(uint16_t u16_thisVoltage); // End of file