Skip to content

Instantly share code, notes, and snippets.

View angww's full-sized avatar
🎯
Focusing

Angelo Araujo angww

🎯
Focusing
View GitHub Profile
@akitaonrails
akitaonrails / links.md
Created November 6, 2019 01:28
Links de referência pro Episódio 66 do Canal Akitando
@arya-oss
arya-oss / INSTALL.md
Last active November 18, 2023 13:58
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
@luckydonald
luckydonald / cubietruck_gpio.md
Last active April 12, 2023 03:24
How to setup and use GPIO ports/pins on a Cubietruck

Setup and use GPIOs on a Cubietruck

Cubietruck is also known as Cubieboard 3

Note: This file documents just what I did, first of all as a note for myself. So this is not primarily intended as a tutorial. Because it still might be helpfull, I uploaded it. The GPIO function is now confirmed to work, tested with my multimeter, but I am still waiting for my jumper cables to arrive, so I can use them securely.

Licensed under a Luna-Will-Cry-If-You-Modify-Or-Redistribute-This 1.0 licence.

@rutles
rutles / gpio_poll.c
Last active January 4, 2023 09:39
Raspberry Pi GPIO polling by wait for event example. Most simple code. No count errors.
/*
gpio_poll.c
Raspberry Pi GPIO polling example.
Hardware: A switch (hardware pulluped) shall be connected to GPIO25.
Compile: cc gpio_poll.c -o gpio_poll
Execute: sudo ./gpio_poll.c
*/
#include <fcntl.h>
#include <stdio.h>