Quantcast
Channel: serial-port – w3toppers.com
Browsing all 3 articles
Browse latest View live

How to read a binary data over serial terminal in C program?

system("stty erase ^H); system("stty -F /dev/ttyS0 -icrnl -ixon -ixoff -opost -isig -icanon -echo"); // enter into non-canonical (raw) mode This would be insufficient code (and poor coding practice...

View Article


Identification of packets in a byte stream

… can’t really grasp how the checksum can be used as an identifier for the start of the package (wouldn’t the checksum change all the time?). Yes, the checksum would change since it is derived from...

View Article

Image may be NSFW.
Clik here to view.

Use serial UART output as input in other serial terminal on Windows 10

Your goal here is, once you have both microcontrollers connected to your Windows 10 PC and communicating correctly, forward data from one of them to the other through your computer (in a kind of...

View Article
Browsing all 3 articles
Browse latest View live