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-ScanInput.h
- Revision:
- 2:cbcf2695a4a1
- Parent:
- 1:b9d4b9b8884c
diff -r b9d4b9b8884c -r cbcf2695a4a1 LaserMon-ScanInput.h --- a/LaserMon-ScanInput.h Fri Jun 14 21:11:31 2019 +0000 +++ b/LaserMon-ScanInput.h Mon Jun 17 17:11:07 2019 +0000 @@ -12,7 +12,7 @@ // ---------------------------------------------------------------------- extern void ScanInputInit(void); -extern void ScanInputThread(void); +extern void ScanInputThread(bool b_allowPlotting); // End of file