Skip to content

Instantly share code, notes, and snippets.

View embetrix's full-sized avatar
🔐

embetrix embetrix

🔐
View GitHub Profile
@ryankurte
ryankurte / uart.c
Last active August 12, 2024 03:24
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>