From fe96c0e3dc4dfe735c5b70f06bb6418e8e6a4599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Date: Sat, 24 Jun 2017 00:12:47 +0200 Subject: [PATCH] Add Switch submodule for arduino Switch module can be used to debounce push buttons --- .gitmodules | 3 +++ arduino/Makefile | 2 +- arduino/Switch | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 arduino/Switch diff --git a/.gitmodules b/.gitmodules index d46dd1a..74b8df2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "kicad/libs/Connectors_JST.pretty"] path = kicad/libs/Connectors_JST.pretty url = https://github.com/KiCad/Connectors_JST.pretty.git +[submodule "arduino/Switch"] + path = arduino/Switch + url = https://github.com/blackketter/Switch.git diff --git a/arduino/Makefile b/arduino/Makefile index da8a1e6..e51ec98 100644 --- a/arduino/Makefile +++ b/arduino/Makefile @@ -1,6 +1,6 @@ BOARD_TAG = nano328 #ARDUINO_LIBS = LiquidCrystal -ARDUINO_LIBS = StepperDriver +ARDUINO_LIBS = StepperDriver Switch ARDMK_DIR:=$(HOME)/git/Arduino-Makefile diff --git a/arduino/Switch b/arduino/Switch new file mode 160000 index 0000000..8771608 --- /dev/null +++ b/arduino/Switch @@ -0,0 +1 @@ +Subproject commit 8771608c824ca13d83b661557345f947de2c7f55