A basic UART driver TX and RX is created and waits for the user input as characters (From 1 to 7 with no line ending). If options from 1 to 5 are selected, an informative text is displayed. If options from 6 to 7 are selected, an output bit is toggled
An UART transciever is requiered, using the recommended UART pins RX on #3 and TX on #34. A 50MHZ clock is needed at 115200bps
Two LED's with a MOSFET driver
# | Input | Output | Bidirectional |
---|---|---|---|
0 | |||
1 | output1 | ||
2 | output2 | ||
3 | rx | ||
4 | tx | ||
5 | |||
6 | |||
7 |