From 86e2dda45d2a8c363c1a6b47254e11b154b4b204 Mon Sep 17 00:00:00 2001 From: Dave Astels Date: Tue, 18 Jun 2019 19:27:33 -0400 Subject: [PATCH 1/3] Add Python choose your own adventure (aka PYOA) framework --- .gitmodules | 3 +++ docs/drivers.rst | 1 + libraries/helpers/pyoa | 1 + 3 files changed, 5 insertions(+) create mode 160000 libraries/helpers/pyoa diff --git a/.gitmodules b/.gitmodules index 433049dd..faa8f01d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -475,3 +475,6 @@ [submodule "libraries/helpers/rgbled"] path = libraries/helpers/rgbled url = https://github.com/adafruit/Adafruit_CircuitPython_RGBLED.git +[submodule "libraries/helpers/pyoa"] + path = libraries/helpers/pyoa + url = https://github.com/adafruit/Adafruit_CircuitPython_PYOA.git diff --git a/docs/drivers.rst b/docs/drivers.rst index c0dfd44c..a03f7226 100644 --- a/docs/drivers.rst +++ b/docs/drivers.rst @@ -62,6 +62,7 @@ These libraries build on top of the low level APIs to simplify common tasks. miniQR Non-hardware QR code generator MotorKit OneWire + PYOA Ring Tone Text Transfer Language (RTTTL) SD Card ServoKit diff --git a/libraries/helpers/pyoa b/libraries/helpers/pyoa new file mode 160000 index 00000000..f0a920d2 --- /dev/null +++ b/libraries/helpers/pyoa @@ -0,0 +1 @@ +Subproject commit f0a920d2b645353652a55917d2e98a46cf71b65b From d1c0825faf3d7bf2ed65684e19187ee5e676f4ff Mon Sep 17 00:00:00 2001 From: Dave Astels Date: Fri, 21 Jun 2019 20:16:00 -0400 Subject: [PATCH 2/3] Removed submodule libraries/helpers/pyoa --- .gitmodules | 5 +---- libraries/helpers/pyoa | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 160000 libraries/helpers/pyoa diff --git a/.gitmodules b/.gitmodules index faa8f01d..b3e55d82 100644 --- a/.gitmodules +++ b/.gitmodules @@ -474,7 +474,4 @@ url = https://github.com/adafruit/Adafruit_CircuitPython_DS3502.git [submodule "libraries/helpers/rgbled"] path = libraries/helpers/rgbled - url = https://github.com/adafruit/Adafruit_CircuitPython_RGBLED.git -[submodule "libraries/helpers/pyoa"] - path = libraries/helpers/pyoa - url = https://github.com/adafruit/Adafruit_CircuitPython_PYOA.git + url = https://github.com/adafruit/Adafruit_CircuitPython_RGBLED.git \ No newline at end of file diff --git a/libraries/helpers/pyoa b/libraries/helpers/pyoa deleted file mode 160000 index f0a920d2..00000000 --- a/libraries/helpers/pyoa +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f0a920d2b645353652a55917d2e98a46cf71b65b From 9a8cf6ca23db8fb4ce4d52592c0438d38e7f9b8e Mon Sep 17 00:00:00 2001 From: Dave Astels Date: Fri, 21 Jun 2019 20:17:55 -0400 Subject: [PATCH 3/3] Update pyoa commit --- .gitmodules | 5 ++++- libraries/helpers/pyoa | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 libraries/helpers/pyoa diff --git a/.gitmodules b/.gitmodules index b3e55d82..42795ccb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -474,4 +474,7 @@ url = https://github.com/adafruit/Adafruit_CircuitPython_DS3502.git [submodule "libraries/helpers/rgbled"] path = libraries/helpers/rgbled - url = https://github.com/adafruit/Adafruit_CircuitPython_RGBLED.git \ No newline at end of file + url = https://github.com/adafruit/Adafruit_CircuitPython_RGBLED.git +[submodule "libraries/helpers/pyoa"] + path = libraries/helpers/pyoa + url = https://github.com/adafruit/Adafruit_CircuitPython_PYOA diff --git a/libraries/helpers/pyoa b/libraries/helpers/pyoa new file mode 160000 index 00000000..5f3e9eff --- /dev/null +++ b/libraries/helpers/pyoa @@ -0,0 +1 @@ +Subproject commit 5f3e9effbd3ab986719c984cfc449bc5b8a97000