Skip to content

Instantly share code, notes, and snippets.

View nsnick's full-sized avatar

Nick Wilkerson nsnick

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