$ uname -r
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
#!/bin/sh | |
# | |
# You should define BINTRAY_ACCOUNT and BINTRAY_APIKEY here or from the outside | |
# BINTRAY_ACCOUNT is you Bintray account and BINTRAY_APIKEY, API Key generated under your Bintray profile | |
# Redefine following variables to match your own usage | |
RPMS_DIR=RPMS/noarch | |
BINTRAY_ACCOUNT=hgomez | |
BINTRAY_REPO=devops-incubator-rpm |