This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |