115200 is a much more sane "default" than 38400. Instead of a mix of 38400 and 115200, just use 115200 in all places. There's no reason for modern 32bit cpus to be using such old slow baudrates. Tested on f1, f4, l1. Replaced some old f1 code that predated some library support code for this.
README
It's intended for the ST STM32F0DISCOVERY eval board. Measures voltage on the ADC_IN1 input, and prints it to the serial port.
Board connections
| Port | Function | Description |
|---|---|---|
PA1 |
(ADC_IN1) |
Analog input |
PA9 |
(USART1) |
TTL serial output (115200,8,N,1) |