changed for panming's Keyboard

This commit is contained in:
Alexander Richter 2023-09-13 18:14:14 +02:00
parent 04840c0313
commit 117e4fd90b
2 changed files with 6 additions and 6 deletions

View File

@ -281,10 +281,10 @@ int lastKey= -1;
#ifdef MULTIPLEXLEDS #ifdef MULTIPLEXLEDS
const int numVccPins = 4; // Number of rows in the matrix const int numVccPins = 8; // Number of rows in the matrix
const int numGndPins = 4; // Number of columns in the matrix const int numGndPins = 7; // Number of columns in the matrix
const int LedVccPins[] = {6, 3, 4, 5}; // Arduino pins connected to rows const int LedVccPins[] = {0,1,2,3,4,5,6,7}; // Arduino pins connected to rows
const int LedGndPins[] = {2, 7, 8, 9}; // Arduino pins connected to columns const int LedGndPins[] = {8,9,10,11,12,13,14}; // Arduino pins connected to columns
// Define the LED matrix // Define the LED matrix
int ledStates[numVccPins*numGndPins] = {0}; int ledStates[numVccPins*numGndPins] = {0};

View File

@ -169,8 +169,8 @@ Destination = [ #define, which Key should be inserted in LinuxCNC as Input or
MultiplexLED = 1 # Set to 1 to Activate MultiplexLED = 1 # Set to 1 to Activate
LedVccPins = 4 LedVccPins = 8
LedGndPins = 4 LedGndPins = 7