💡 #DWDsTips Minicom logging + options

#Minicom can annotate the received data.

Here I add timestamps to my sensor data and create a log file with the data in it

 now=-$(date '+%F_%T' --utc | tr -d -- '-:')
 logfile="${HOME}/Logs/minicom-capture-${now}"
 minicom \
--baudrate 115200 \
--device /dev/ttyACM0 \
--option timestamp \
--capturefile "${logfile}"

#Linux #Ubuntu #UART