| <link> | <link> | ||||
| <name>libraries/ArduinoJson</name> | <name>libraries/ArduinoJson</name> | ||||
| <type>2</type> | <type>2</type> | ||||
| <locationURI>ECLIPSE_HOME/arduinoPlugin/libraries/ArduinoJson/7.0.3</locationURI> | |||||
| <locationURI>ECLIPSE_HOME/arduinoPlugin/libraries/ArduinoJson/7.0.2</locationURI> | |||||
| </link> | </link> | ||||
| </linkedResources> | </linkedResources> | ||||
| </projectDescription> | </projectDescription> |
| sendCamActAzimut(String(actAzi)); | sendCamActAzimut(String(actAzi)); | ||||
| } else if (sdr == CMD_SENDER_PC && cmd == CMD_AZIMUT_CAM) { | } else if (sdr == CMD_SENDER_PC && cmd == CMD_AZIMUT_CAM) { | ||||
| if (digitalRead(PWR_CAM_PIN) == HIGH) { | |||||
| if (digitalRead(PWR_CAM_PIN) == LOW) { | |||||
| long target = round((4076.0 / 360.0) * val.toDouble() * -1); | long target = round((4076.0 / 360.0) * val.toDouble() * -1); | ||||
| stepper.moveTo(target); | stepper.moveTo(target); | ||||
| stepper.run(); | stepper.run(); |
| //This is a automatic generated file | //This is a automatic generated file | ||||
| //Please do not modify this file | //Please do not modify this file | ||||
| //If you touch this file your change will be overwritten during the next build | //If you touch this file your change will be overwritten during the next build | ||||
| //This file has been generated on 2024-02-25 15:16:38 | |||||
| //This file has been generated on 2024-02-29 21:19:17 | |||||
| #include "Arduino.h" | |||||
| #include "Arduino.h" | #include "Arduino.h" | ||||
| #include <ArduinoJson.h> | #include <ArduinoJson.h> | ||||
| #include <AccelStepper.h> | #include <AccelStepper.h> |