Skip to content

Instantly share code, notes, and snippets.

View melluh's full-sized avatar

Melle Moerkerk melluh

View GitHub Profile
@melluh
melluh / README.md
Last active March 13, 2024 15:19
Getting started with the ServerTours API

Useful links

Adding the dependency

Gradle (Groovy DSL)

repositories {
    maven {
        name = "melluh-releases"
        url = "https://repo.melluh.com/releases"
@melluh
melluh / clock.ino
Last active September 6, 2022 16:10
A simple ESP8266 + Waveshare E-paper display clock. Shows date and time. Automatically adjusts to DST through the ezTime library.
#include <GxEPD2_BW.h>
#include <GxEPD2_3C.h>
#include <Fonts/FreeMonoBold12pt7b.h>
#include <Fonts/FreeMonoBold24pt7b.h>
#include <ESP8266WiFi.h>
#include <ezTime.h>
GxEPD2_BW<GxEPD2_290_T94_V2, GxEPD2_290_T94_V2::HEIGHT> display(GxEPD2_290_T94_V2(/*CS=D8*/ SS, /*DC=D3*/ 0, /*RST=D4*/ 2, /*BUSY=D2*/ 4)); // GDEM029T94, Waveshare 2.9" V2 variant
#define TIME_FORMAT "H:i"

Keybase proof

I hereby claim:

  • I am melluh on github.
  • I am melluh (https://keybase.io/melluh) on keybase.
  • I have a public key ASDtxnnbm6GjgQ3DeO--86hSmYO_GqB-gBmTIjsrqCRlwAo

To claim this, I am signing this object: