Skip to content

Instantly share code, notes, and snippets.

View RobAxt's full-sized avatar
🎯
Focusing

RobAxt

🎯
Focusing
View GitHub Profile
@stellasphere
stellasphere / descriptions.json
Last active November 4, 2025 02:45
WMO weather interpretation code descriptions (& images)
{
"0":{
"day":{
"description":"Sunny",
"image":"http://openweathermap.org/img/wn/01d@2x.png"
},
"night":{
"description":"Clear",
"image":"http://openweathermap.org/img/wn/01n@2x.png"
}
@erikpena
erikpena / main.ino
Last active July 21, 2023 05:27
A simple hardware button debouncer using ESP8266 libraries within the Arduino IDE.
// pin is 2.
const int multiButton = 2;
void setup() {
// Configure the pin mode as an input.
pinMode(multiButton, INPUT);
// Attach an interrupt to the pin, assign the onChange function as a handler and trigger on changes (LOW or HIGH).
attachInterrupt(multiButton, onChange, CHANGE);