From fa04530a67237dd6a804b1350bc47b99b492ff98 Mon Sep 17 00:00:00 2001 From: Alexander Richter Date: Tue, 28 Mar 2023 18:54:54 +0200 Subject: [PATCH] tidy up --- LinuxCNC_ArduinoConnector.ino | 2 +- README.md | 2 +- arduino.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LinuxCNC_ArduinoConnector.ino b/LinuxCNC_ArduinoConnector.ino index ae0ea54..e07c15d 100644 --- a/LinuxCNC_ArduinoConnector.ino +++ b/LinuxCNC_ArduinoConnector.ino @@ -58,7 +58,7 @@ #endif //Use Arduino IO's as Toggle Inputs, which means Inputs (Buttons for example) keep HIGH State after Release and Send LOW only after beeing Pressed again. -#define SINPUTS //Define how many Sticky Inputs you want in total and then which Pins you want to be Sticky Inputs. +#define SINPUTS //Define how many Toggle Inputs you want in total and then which Pins you want to be Toggle Inputs. #ifdef SINPUTS const int sInputs = 5; //number of inputs using internal Pullup resistor. (short to ground to trigger) int sInPinmap[] = {32,33,34,35,36}; diff --git a/README.md b/README.md index cfa0940..66a56a6 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ The Send and receive Protocol is : To begin Transmitting Ready is send out and expects to receive E: to establish connection. Afterwards Data is exchanged. Data is only send everythime it changes once. - Inputs = 'I' -write only -Pin State: 0,1 + Inputs & Toggle Inputs = 'I' -write only -Pin State: 0,1 Outputs = 'O' -read only -Pin State: 0,1 PWM Outputs = 'P' -read only -Pin State: 0-255 Digital LED Outputs = 'D' -read only -Pin State: 0,1 diff --git a/arduino.py b/arduino.py index 243f776..a366064 100755 --- a/arduino.py +++ b/arduino.py @@ -21,7 +21,7 @@ import serial, time, hal # To begin Transmitting Ready is send out and expects to receive E: to establish connection. Afterwards Data is exchanged. # Data is only send everythime it changes once. -# Inputs = 'I' -write only -Pin State: 0,1 +# Inputs & Toggle Inputs = 'I' -write only -Pin State: 0,1 # Outputs = 'O' -read only -Pin State: 0,1 # PWM Outputs = 'P' -read only -Pin State: 0-255 # Digital LED Outputs = 'D' -read only -Pin State: 0,1