From 44421890a2fcfdd8a15289e0d1b2d2d8f7d548aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 12 Feb 2018 09:54:51 +0100 Subject: [PATCH] added gex config for completeness --- UNITS.INI | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 UNITS.INI diff --git a/UNITS.INI b/UNITS.INI new file mode 100644 index 0000000..24dfed1 --- /dev/null +++ b/UNITS.INI @@ -0,0 +1,58 @@ +## UNITS.INI +## GEX v0.0.1 on STM32F072-Discovery +## built Feb 9 2018 at 20:10:56 + +# Overwrite this file to change settings. +# Press the LOCK button to save them to Flash. + +[UNITS] +# Create units by adding their names next to a type (e.g. PIN=A,B), +# remove the same way. Reload to update the unit sections below. + +# Digital output +DO= + +# Digital input with triggers +DI=btn + +# Neopixel RGB LED strip +NPX=neo + +# I2C master +I2C= + +# SPI master +SPI= + +# Serial port +USART= + +# 1-Wire master +1WIRE= + +# Analog/digital converter +ADC= + +[DI:btn@1] +# Port name +port=B +# Pins (comma separated, supports ranges) +pins=9 +# Pins with pull-up +pull-up=9 +# Pins with pull-down +pull-down= + +# Trigger pins activated by rising/falling edge +trig-rise= +trig-fall=9 +# Trigger pins auto-armed by default +auto-trigger=9 +# Triggers hold-off time (ms) +hold-off=200 + +[NPX:neo@2] +# Data pin +pin=B8 +# Number of pixels +pixels=30