Serial monitor for linux.
For initialization of serial monitor :
serialInit();
For printing out transmitted data from microcontroler in one line (Input = char):
serialWrite();
For printing out transmitted data from microcontroler in new line (Input = char):
serialWriteLn();
First you need to install screen:
sudo apt install screen
To run screen you type:
screen
Attaching COM port to screen:
screen /dev/PORT
Detaching screen:
Ctrl + a Ctrl + d
Terminating screen:
screen -X quit
Listing all opened screens:
screen -ls
Compile:
make compile
Link:
make link
Flash to microcontroler:
make flash
Turn on COM port monitor:
make monitor
Removing compiled files and closing monitor:
make clean
Run compile link flash monitor at the same time:
make default