Serial override, enabling a simple interface onto the mbed stdout redirect. Intended for Stage 1 students in the Department of Electronic Engineering at the University of York
Dependents: UoY-32C-lab2-start UoY-32C-lab7 UoY-32C-lab7-class UoY-32C-lab8-threads ... more
Diff: UoY-utils.h
- Revision:
- 1:a86a8c72aca6
- Parent:
- 0:5a0d57dc490b
diff -r 5a0d57dc490b -r a86a8c72aca6 UoY-utils.h --- a/UoY-utils.h Sat Nov 21 13:35:39 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#define serial_setup(tx,rx,baud) \ -static BufferedSerial serial_port(tx, rx, baud); \ -FileHandle *mbed::mbed_override_console(int fd) { \ - return &serial_port; \ -}