Skip to content

Instantly share code, notes, and snippets.

View michaelb42's full-sized avatar

Michael Brakemeier michaelb42

View GitHub Profile
@michaelb42
michaelb42 / m4_HD44780_PCF8574x_MAPPING.patch
Created October 8, 2014 08:53
ethersex/ethersex m4 macro to map HD44780-LCD connector to PCF8574x I2C-Expander
diff --git hardware/lcd/config.in hardware/lcd/config.in
index a661f67..17359dc 100644
--- hardware/lcd/config.in
+++ hardware/lcd/config.in
@@ -28,7 +28,7 @@ mainmenu_option next_comment
dep_bool "Backlight support" HD44780_BACKLIGHT_SUPPORT $HD44780_SUPPORT
elif [ "$HD44780_I2CSUPPORT" = "y" ]; then
dep_bool "Readback support" HD44780_READBACK $HD44780_SUPPORT
- int "PCF8574 Address" HD44780_PCF8574_ADR 32
+# int "PCF8574 Address" HD44780_PCF8574_ADR 32
@michaelb42
michaelb42 / gist:ba2696f0e96027f6a214
Created February 28, 2015 19:48
e6: watch IO changes requires full featured I/O #387
diff --git a/config.in b/config.in
index 7756fcb..ab1c676 100644
--- a/config.in
+++ b/config.in
@@ -307,9 +307,11 @@ comment "I/O"
Simple PORTIO_SCHEME
if [ x"$PORTIO_SCHEME" = x"PORTIO_SIMPLE" ]; then
- define_bool PORTIO_SIMPLE_SUPPORT y;
+ define_bool PORTIO_SIMPLE_SUPPORT y
<script src="/assets/js/moment.min.js"></script>
%if len(translations) > 1:
%for language in sorted(translations):
%if language != "en":
<script src="/assets/js/locale/${language}.min.js"></script>
%endif
%endfor
%endif