Skip to content

Instantly share code, notes, and snippets.

Stephan Boyer stepchowfun

View GitHub Profile
@stepchowfun
stepchowfun / bullet.c
Created Apr 24, 2012
Source code for the self-balancing unicycle described at: http://www.stephanboyer.com/post/17
View bullet.c
#define F_CPU 20000000
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <stdio.h>
#include <math.h>
/*
-----------------------
Self-Balancing Unicycle
You can’t perform that action at this time.