aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-08-22 14:47:47 +0100
committerdakkar <dakkar@thenautilus.net>2020-08-22 14:47:47 +0100
commitdfe79d965bb44475942f24037e180a4108e4c914 (patch)
tree2808892d32ee0cc16d4204fa02961186011903b5
parentgeneralise the code a bit (diff)
downloadlego-piano-dfe79d965bb44475942f24037e180a4108e4c914.tar.gz
lego-piano-dfe79d965bb44475942f24037e180a4108e4c914.tar.bz2
lego-piano-dfe79d965bb44475942f24037e180a4108e4c914.zip
*finally* a set of pins that actually works
-rw-r--r--esp32/lego-piano.ino2
-rw-r--r--wiring.rst.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/esp32/lego-piano.ino b/esp32/lego-piano.ino
index 29368e6..2ac4344 100644
--- a/esp32/lego-piano.ino
+++ b/esp32/lego-piano.ino
@@ -27,7 +27,7 @@ const size_t row_count = 5;
const size_t col_count = 5;
const int rows[row_count] = { 5, 23, 19, 18, 26 };
-const int cols[col_count] = { 7, 33, 8, 21, 22 };
+const int cols[col_count] = { 17, 33, 16, 21, 22 };
const int adc[row_count] = { 2, 4, 12, 27, 14 };
const int ampEnable = 32;
diff --git a/wiring.rst.txt b/wiring.rst.txt
index 662a063..a399935 100644
--- a/wiring.rst.txt
+++ b/wiring.rst.txt
@@ -42,7 +42,7 @@ so…
row outputs: 05 23 19 18 26
-col outputs: 07 33 08 21 22
+col outputs: 17 33 16 21 22
adc inputs: 02 04 tdi/12 27 tms/14 (adc2 2 0 5 7 6)