Skip to content

Instantly share code, notes, and snippets.

View gilliangoud's full-sized avatar

Gillian Goud gilliangoud

View GitHub Profile
blueprint:
name: Anti Door open forget TTS announcer
domain: automation
input:
door_entity:
name: Door Sensor
description: Entity that causes announcement
selector:
entity:
domain: binary_sensor
#define FASTLED_ESP32_I2S true
//#define FASTLED_ALLOW_INTERRUPTS 0
#define FASTLED_SHOW_CORE 0
#include "src/FASTLED/FastLED.h"
#define LED_PIN 13
#define N_LEDS 98
#define BRIGHTNESS 20 //brightness (max 254)
#define N_LEDS_SEGMENT 7
#define N_DISPLAYS 2
CRGB leds[N_LEDS];
@gilliangoud
gilliangoud / remote.ino
Created May 23, 2019 19:12
Arduino file for a 2 digit remote controlled lap counter with a nrf24L - controller
#include <Keypad.h>
const byte ROWS = 4;
const byte COLS = 3;
#include <TM1637Display.h>
const int CLK = 3; //Set the CLK pin connection to the display
const int DIO = 2; //Set the DIO pin connection to the display
@gilliangoud
gilliangoud / Lapcounter.ino
Created May 23, 2019 19:11
Arduino file for a 2 digit remote controlled lap counter with a nrf24L
const int NUM_DISPLAYS = 2;
const int NUM_LEDS_SEGMENT = 7;
const int DATA_PIN = 2;
#include <FastLED.h>
const int NUM_SEGMENTS = 7;
const int NUM_LEDS = NUM_DISPLAYS * NUM_LEDS_SEGMENT * NUM_SEGMENTS;
CRGB leds[NUM_LEDS];
#include "nRF24L01.h" // NRF24L01 library created by TMRh20 https://github.com/TMRh20/RF24
@gilliangoud
gilliangoud / Keybase.md
Created May 17, 2019 20:28
Proof of ownership for keybase profile

Keybase proof

I hereby claim:

  • I am gilliangoud on github.
  • I am gilliangoud (https://keybase.io/gilliangoud) on keybase.
  • I have a public key ASDiLqcufH1ZzNNHU66UDz2um7E1t5ZhgLL9V9yuRdYpNgo

To claim this, I am signing this object: