[chronojump] Wifi. Fixed wrong controler channel reading
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Wifi. Fixed wrong controler channel reading
- Date: Tue, 24 Aug 2021 13:26:13 +0000 (UTC)
commit 57ab3473d1f3ef0b4a99268a4bb47b89b206f03d
Author: Xavier Padullés <x padulles gmail com>
Date: Tue Aug 24 14:23:42 2021 +0200
Wifi. Fixed wrong controler channel reading
arduino/lightChro/control/control.ino | 9 +++------
arduino/lightChro/terminal/terminal.ino | 9 +++------
2 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/arduino/lightChro/control/control.ino b/arduino/lightChro/control/control.ino
index f77074a76..24da85be4 100644
--- a/arduino/lightChro/control/control.ino
+++ b/arduino/lightChro/control/control.ino
@@ -98,12 +98,9 @@ void setup(void)
//************************************************************************************
// A0, A1, A2 connected to the 3xswith
- pinMode(A0, INPUT); //
- digitalWrite(A0, HIGH); //
- pinMode(A1, INPUT); //
- digitalWrite(A1, HIGH); //
- pinMode(A2, INPUT); //
- digitalWrite(A2, HIGH); //
+ pinMode(A0, INPUT);
+ pinMode(A1, INPUT);
+ pinMode(A2, INPUT);
// En estas entradas se pondra un microswich , de 3 botones
// Se leeran en binario y se sumarán al canal por defecto 101
diff --git a/arduino/lightChro/terminal/terminal.ino b/arduino/lightChro/terminal/terminal.ino
index 251e99a01..0afa1d4de 100644
--- a/arduino/lightChro/terminal/terminal.ino
+++ b/arduino/lightChro/terminal/terminal.ino
@@ -153,12 +153,9 @@ void setup(void)
//************************************************************************************
// A0, A1, A2 connected to the 3xswith
- pinMode(A0, INPUT); //
- digitalWrite(A0, HIGH); //
- pinMode(A1, INPUT); //
- digitalWrite(A1, HIGH); //
- pinMode(A2, INPUT); //
- digitalWrite(A2, HIGH); //
+ pinMode(A0, INPUT);
+ pinMode(A1, INPUT);
+ pinMode(A2, INPUT);
// En estas entradas se pondra un microswich , de 3 botones
// Se leeran en binario y se sumarán al canal por defecto 101
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]