Experiment 9 ADC experiment
1 Development environment
- STM32F407ZGT6
- Wedge uVision 5
2 Experiment content
- Draw the voltage waveform on the LCD of the development board.
- note:
- The waveform reflects the fluctuation of the voltage, the ratio can be determined by yourself, but the fluctuation looks more obvious;
- At the beginning, the waveform is extended to the right, and when the screen is full, the graph should be scrolled.
3 Experimental code
[main.c]
#define len 20
#define minus 30
u16 buffer[len];
st