Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Wilkerson nsnick

View GitHub Profile
@nsnick
nsnick / melt.bash
Created Oct 20, 2019
Write a newline to ttyACM0 when it receives an http request on 8080
View melt.bash
#!/bin/bash
# Craig Hesling <craig@hesling.com>
NC=netcat
PORT=8080
SERIAL=/dev/ttyACM0
serial_setup() {
stty -F <$SERIAL 115200