Skip to content

Instantly share code, notes, and snippets.

View joranmulderij's full-sized avatar

joranmulderij

View GitHub Profile
from litemapy import *
from math import *
from shutil import copy
reg = Region(0, 0, 0, 213, 9, 213)
center_offset = 106
schem = reg.as_schematic(name="Beacon Ring", author="FlutterDart", description="Made with litemapy")
beacon = BlockState("minecraft:beacon")
iron_block = BlockState("minecraft:iron_block")
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library for ST7735
#include <Adafruit_ST7789.h> // Hardware-specific library for ST7789
#include <SPI.h>
#include "PMS.h"
#define TFT_SCLK 4
#define TFT_SID 5
#define TFT_RST 6 // Or set to -1 and connect to Arduino RESET pin