Skip to content

Instantly share code, notes, and snippets.

View deadbok's full-sized avatar

Martin Bo Kristensen Grønholdt deadbok

  • Denmark
View GitHub Profile
@deadbok
deadbok / handin.tex
Created November 15, 2017 13:21
handin template for pandoc
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
% -----------------
% START OF PREAMBLE
% -----------------
\documentclass[12pt,a4paper]{scrartcl}
% Commands
@deadbok
deadbok / i2c-hd44780-pin-mapping
Last active March 3, 2018 21:13
Debian lcdproc patch to make pin mapping customisable in the HD44780 I2C driver.
Description: Patch to make the HD44870 pin mapping configurable in the I2C driver.
This patch makes it possible to customise the pin mapping for the HD44780
driver when using and I2C interface. The original sources are from https://github.com/wilberforce/lcdproc.
.
--- lcdproc-0.5.7.orig/clients/lcdproc/main.c
+++ lcdproc-0.5.7/clients/lcdproc/main.c
@@ -58,7 +58,7 @@ int Quit = 0;
int sock = -1;
char *version = VERSION;