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:
- 1:b9d4b9b8884c
- Parent:
- 0:1ebe7d222470
- Child:
- 2:cbcf2695a4a1
diff -r 1ebe7d222470 -r b9d4b9b8884c LaserMon-Main.h --- a/LaserMon-Main.h Mon Jun 10 17:10:01 2019 +0000 +++ b/LaserMon-Main.h Fri Jun 14 21:11:31 2019 +0000 @@ -18,6 +18,9 @@ #define LCD_WIDTH 240 #define LCD_HEIGHT 320 +// This describes how many pixels to the right we start plotting porch +#define INITIAL_PORCH_HEIGHT 50 + // ---------------------------------------------------------------------- // Describe data which we export to all other modules // @@ -34,7 +37,6 @@ // // ---------------------------------------------------------------------- -extern void accurate_wait_ms(uint16_t u16_thisManyMilliseconds); // End of file