2022-12-24 17:42:40 +01:00
|
|
|
|
2022-12-24 17:09:22 +01:00
|
|
|
+++
|
2022-12-24 17:42:40 +01:00
|
|
|
date="2022-11-30"
|
2022-12-24 17:09:22 +01:00
|
|
|
author="spanskiduh"
|
|
|
|
title="uart"
|
2022-12-24 17:42:40 +01:00
|
|
|
description="click to read about uart"
|
2022-12-24 17:09:22 +01:00
|
|
|
+++
|
|
|
|
|
|
|
|
|
|
|
|
# Connect to uart
|
|
|
|
- `sudo dmesg | grep tty` - find uart device
|
|
|
|
- `sudo minicom -D /dev/ttyACM0 -b 115200` - connect to uart device
|
|
|
|
|
|
|
|
ECHO TO UART DEVICE `ctrl + a e`
|
|
|
|
|
|
|
|
(https://blog.mbedded.ninja/programming/operating-systems/linux/linux-serial-ports-using-c-cpp/)[programiranje uarta]
|
|
|
|
|
|
|
|
LEAVE MINICOM (this is the hard one;;) ctrl + a and then x
|