Skip to content

Instantly share code, notes, and snippets.

#include <Wire.h>
#include <Adafruit_Trellis.h>
#include "MIDIUSB.h"
#define LED 13 // Pin for heartbeat LED (shows code is working)
#define CHANNEL 1 // MIDI channel number
Adafruit_Trellis trellis;
uint8_t heart = 0; // Heartbeat LED counter
@reefab
reefab / velux_HA_tasmota.md
Last active March 15, 2018 19:02
How to control Velux electric rolling shutters with Home Assistant and without Velux hardware
@reefab
reefab / gist:3811608
Created October 1, 2012 12:50
Utiliser pfsense avec SFR Fibre
$dhclientconf = "";
if ($wanif == "rl2") {
$dhclientconf .= <<<EOD
interface "{$wanif}" {
timeout 60;
retry 1;
select-timeout 0;
send dhcp-class-identifier "neufbox5_NB5-SER-r1_NB5-MAIN-R2.2.2";