Update files

This commit is contained in:
mangavalk committed 2026-10-01 15:09:00 +02:00
1 parent 6706350811
commit 81fa7f1429
5 files changed
+291 -65

No files matched your search

+5 -3
View File
@@ -1,7 +1,7 @@
#include <EEPROM.h>
// start reading from the first byte (address 0) of the EEPROM
int address = 0;
unsigned int address = 0;
byte value;
// Joystick vars
@@ -11,8 +11,10 @@ int sensorValue = 0;
int outputValue = 0;
//volatile int center[6] = {0, 0, 0, 0, 0, 0};
volatile int minvalue[6] = {1000, 1000, 1000, 1000, 1000, 1000};
volatile int maxvalue[6] = {0, 0, 0, 0, 0, 0};
//volatile int minvalue[6] = {1000, 1000, 1000, 1000, 1000, 1000}; //ARDUINO
//volatile int maxvalue[6] = {0, 0, 0, 0, 0, 0}; //ARDUINO
int minvalue[6] = {1000, 1000, 1000, 1000, 1000, 1000}; //TEENSY
int maxvalue[6] = {0, 0, 0, 0, 0, 0}; //TEENSY
void JoystickInit()
{