Skip to content

Instantly share code, notes, and snippets.

View thexeno's full-sized avatar

thexeno

View GitHub Profile
@thexeno
thexeno / stranger_things_wifi.ino
Created January 10, 2020 22:19
Code for the ESP32 Arduino based Stranger Things Christmas project, documented on https://hackaday.io/project/28603
/*
* USAGE:
* After upload, will run a default sentence on APA102 string. To upload a new one, just send a new one from the serial line.
*
* stranger_lights.ino - StrangerThings lights control - Version 1.0
* Created on 12/2017
* by Enrico Sanino
*
* This library is free software; you can redistribute it and/or
@thexeno
thexeno / ws2812b_protocol_pwm_test.c
Last active January 7, 2020 16:59
Test firmware for the Atmega328P to communicate with the WS2812B, in line with its relative datasheet Version 5. Two chunks of data are sent, one per pixel, considering the overhead of double buffering of the PWM module.
/*
* main.c
* Author : Enrico
*
*
*/
#define F_CPU 16000000UL
#include <avr/interrupt.h>