Skip to content

Instantly share code, notes, and snippets.

View plushvoxel's full-sized avatar

Marble plushvoxel

View GitHub Profile
@plushvoxel
plushvoxel / spi_to_bin.py
Created February 12, 2016 21:35
write shit to binary
#!/usr/bin/env python2
import time
import serial
import struct
import binascii
mem_addr = 0x80000000
ser= serial.Serial('/dev/ttyUSB0', 115200, timeout=1)