Skip to content

Instantly share code, notes, and snippets.

View JonasDoesThings's full-sized avatar
💭
🐈

Jonas JonasDoesThings

💭
🐈
View GitHub Profile
@charset "utf-8";
/**
* based on https://github.com/CreativeBulma/bulma-divider
* made compatible with bulma 1.0+ by replacing the used variables with up-to-date imports
*/
@use "node_modules/bulma/sass/utilities";
$divider-background-color: utilities.$border !default;
$divider-font-size: utilities.$size-7 !default;
$divider-margin-inner-size: 10px !default;
@JonasDoesThings
JonasDoesThings / air_sensor.cpp
Created July 8, 2020 22:29
MQTT Air Sensor using an ESP8266 board with SSD1306 display, DHT22 temp/humdity sensor, SDS011 particulate matter sensor
#include <Arduino.h>
#include <Wire.h>
#include "SSD1306Wire.h"
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <SDS011.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#define mqttUser "MQTT USER"
@JonasDoesThings
JonasDoesThings / main.cpp
Created August 2, 2019 14:40
SDS011 + DHT22 + ESP8266 + MQTT
#include <Arduino.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <SDS011.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#define mqttIP "MQTT IP"
#define mqttPort 1883
#define mqttUsername "MQTT USERNAME"
@JonasDoesThings
JonasDoesThings / sketch.ino
Created June 19, 2019 16:27
NeoMatrix Rainbow Effect
#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>
#define PIN 6
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(32, 8, PIN,
NEO_MATRIX_TOP + NEO_MATRIX_LEFT +
NEO_MATRIX_COLUMNS + NEO_MATRIX_ZIGZAG,
NEO_GRB + NEO_KHZ800);
@JonasDoesThings
JonasDoesThings / README.md
Last active May 1, 2019 16:20
Arduino LED Matrix Messageboard Code