Skip to content

Instantly share code, notes, and snippets.

View nswanberg's full-sized avatar

Nate Swanberg nswanberg

  • Boulder, Colorado
View GitHub Profile
@nswanberg
nswanberg / avc.ino
Created October 15, 2017 03:42
Controls an RC Car with Pulse Width Modulation
/*
Controls an RC car (Redcat Racing Blackout XTE Pro, but would
work with others using a standard PWM timing
Configured to receive commands from either the radio or
the USB serial port
*/
#include "Arduino.h"
#include "Servo.h"
@nswanberg
nswanberg / evil.py
Created September 12, 2017 18:51 — forked from glennzw/evil.py
Simple Python library to manage wireless network connection.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# glenn@sensepost.com / @glennzw
# Handle wireless networking from Python
# The name (evil.py) is a play on 'wicd'
from subprocess import Popen, call, PIPE
import errno
from types import *
import logging
import sys