Skip to content

Instantly share code, notes, and snippets.

View adam-buckley's full-sized avatar
🍑

Adam Buckley adam-buckley

🍑
View GitHub Profile
@adam-buckley
adam-buckley / bouncing_dot.c
Created October 23, 2017 10:56
Onion Omega2 - I2C OLED Bouncing Dot using C
/**
* A small demo of a dot bouncing inside a 128x64 OLED screen, using the Onion Omega 2. Note this isn't using the
* OLED expansion, but a cheapo screen I bought from China, using the SSD1306 (as far as I could tell) driver.
* This was only a personal exercise to see how easy it is to setup, it might be handly to someone else learning!
*
* To compile:
* - install gcc and make (See: https://docs.onion.io/omega2-docs/c-compiler-on-omega.html)
* - install git (Follow this: https://docs.onion.io/omega2-docs/installing-and-using-git.html)
* - install python-dev
* - git clone the i2c exp driver (https://github.com/OnionIoT/i2c-exp-driver)
@adam-buckley
adam-buckley / Mono synth.html
Last active August 4, 2016 08:13
A mouse/touch enabled mono synth with Sine/Saw/Square/Triangle wave support
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">