|
@@ -89,6 +89,7 @@
|
|
|
#include "__main_struct_limits.h"
|
|
#include "__main_struct_limits.h"
|
|
|
#include "_time_struct.h"
|
|
#include "_time_struct.h"
|
|
|
|
|
|
|
|
|
|
+#include "__main_I2C_struc.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
#define _ControllerID 0x101
|
|
#define _ControllerID 0x101
|
|
@@ -96,10 +97,7 @@
|
|
|
|
|
|
|
|
#include "config_Active_ControllerID.h"
|
|
#include "config_Active_ControllerID.h"
|
|
|
|
|
|
|
|
-#if defined(HAS_I2C_driver_Adafruit_PWMServoDriver)
|
|
|
|
|
- #include <Wire.h>
|
|
|
|
|
- #include <Adafruit_PWMServoDriver.h>
|
|
|
|
|
-#endif
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(HAS_TFT_ILI9163C)
|
|
#if defined(HAS_TFT_ILI9163C)
|
|
@@ -111,10 +109,23 @@
|
|
|
|
|
|
|
|
#include "_DISPLAY_struct.h"
|
|
#include "_DISPLAY_struct.h"
|
|
|
#include "_Port_ID_sruct.h"
|
|
#include "_Port_ID_sruct.h"
|
|
|
-#include "_I2C_driver_Adafruit_PWMServoDriver_struct.h"
|
|
|
|
|
|
|
+
|
|
|
#include "_TASK_TYPES_struct.h"
|
|
#include "_TASK_TYPES_struct.h"
|
|
|
#include "_Slave_Ports_Status_QUEUE_struct.h"
|
|
#include "_Slave_Ports_Status_QUEUE_struct.h"
|
|
|
//#include "Slave_Ports_Status_QUEUE.h"
|
|
//#include "Slave_Ports_Status_QUEUE.h"
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+#include "_I2C_driver_Adafruit_PWMServoDriver_struct.h"
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+#if defined(HAS_I2C_driver_Adafruit_PWMServoDriver)
|
|
|
|
|
+ #include "_I2C_driver_Adafruit_PWMServoDriver_config.h"
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
#include "Queue.h"
|
|
#include "Queue.h"
|
|
|
|
|
|
|
|
Queue<int> _Slave_Ports_queue = Queue<int>(10);
|
|
Queue<int> _Slave_Ports_queue = Queue<int>(10);
|
|
@@ -292,6 +303,10 @@ void setup() {
|
|
|
LCDarray2.concat(String(Active_ControllerID, HEX) ) ;
|
|
LCDarray2.concat(String(Active_ControllerID, HEX) ) ;
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+#if defined(HAS_I2C_driver_Adafruit_PWMServoDriver)
|
|
|
|
|
+ #include "_I2C_driver_Adafruit_PWMServoDriver_setup.h"
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
// put your setup code here, to run once:
|
|
// put your setup code here, to run once:
|
|
|
#if defined(HAS_LCD1602)
|
|
#if defined(HAS_LCD1602)
|