Skip to content

Instantly share code, notes, and snippets.

@calvinli
calvinli / rotator.ino
Last active August 29, 2015 14:21
Arduino implementation of AlfaSpid ROT2PROG rotator controller
/* Rotator controller code for Arduino
* ========================================================
*
* This is a very poor attempt at reverse-engineering
* the ROT2PROG rotator controller and its SPID protocol
* using a TI DRV8432 motor driver and an Arduino Micro.
*
* For information about the TI DRV8432, see
* http://www.ti.com/product/drv8432
* For information on the SPID protocol, see
@calvinli
calvinli / keybase.md
Created May 8, 2015 04:43
Keybase proof

Keybase proof

I hereby claim:

  • I am calvinli on github.
  • I am calvinli (https://keybase.io/calvinli) on keybase.
  • I have a public key whose fingerprint is 896F 3EE3 11E0 4E18 B517 671D D485 18FD 1F08 3B61

To claim this, I am signing this object:

@calvinli
calvinli / arduino_reset.py
Created April 4, 2015 05:09
Automatic software reset for the Arduino Leonardo/Micro
#!/usr/bin/env python
from __future__ import print_function
import serial, sys
from time import sleep
#
# Arduino Leonardo/Micro automatic software reset tool.
#
# Calvin Li, 2015-04-03
#