Arkadiusz Binder пре 5 година
родитељ
комит
d51706637d

+ 4 - 0
SE/stuff/P5_Automation_can-dev-res-working-1930/___CONFIG/0x13/setup_Active_ControllerID_0x13.h

@@ -0,0 +1,4 @@
+if(EEPROM_Active_ControllerID_read_A == 0x13) {
+HAS_ROTTARY_SW_A = true ; //#define HAS_ROTTARY_SW
+HAS_I2C_driver_Adafruit_PWMServoDriver_A = true ; 
+}

+ 19 - 0
SE/stuff/P5_Automation_can-dev-res-working-1930/___CONFIG/config_Active_ControllerID.h

@@ -0,0 +1,19 @@
+#include <EEPROM.h>
+/*
+int EEPROM_Active_ControllerID_addr = 0 ;
+
+int EEPROM_Active_ControllerID_read ;
+
+EEPROM.get( EEPROM_Active_ControllerID_addr, EEPROM_Active_ControllerID_read );
+//EEPROM_Active_ControllerID_read = EEPROM.read(EEPROM_Active_ControllerID_addr);
+*/
+#define Active_ControllerID 0x13
+
+
+//if(EEPROM_Active_ControllerID_read > 0 ) //{
+    //const ing Active_ControllerID_E  = 0x13 ;
+//    Serial.println("EER[OK]");
+//} else {
+//    Serial.println("EER[EMPT]");
+ //    const ing Active_ControllerID_E  = 0x13 ;
+//}