| @@ -49,7 +49,7 @@ | |||
| <link> | |||
| <name>libraries/ArduinoJson</name> | |||
| <type>2</type> | |||
| <locationURI>ECLIPSE_HOME/arduinoPlugin/libraries/ArduinoJson/7.0.3</locationURI> | |||
| <locationURI>ECLIPSE_HOME/arduinoPlugin/libraries/ArduinoJson/7.0.2</locationURI> | |||
| </link> | |||
| </linkedResources> | |||
| </projectDescription> | |||
| @@ -167,7 +167,7 @@ void loop() { | |||
| sendCamActAzimut(String(actAzi)); | |||
| } 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); | |||
| stepper.moveTo(target); | |||
| stepper.run(); | |||
| @@ -2,8 +2,9 @@ | |||
| //This is a automatic generated file | |||
| //Please do not modify this file | |||
| //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 <ArduinoJson.h> | |||
| #include <AccelStepper.h> | |||