Skip to content

Instantly share code, notes, and snippets.

View galch's full-sized avatar
🎯
Focusing

Steve Han galch

🎯
Focusing
View GitHub Profile
@ryankurte
ryankurte / uart.c
Last active July 15, 2024 03:22
Simple unix serial implementation. This uses pthreads to receive and buffer incoming data for later use.
#include "uart.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <termios.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>