1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-08-02 11:31:34 +00:00

Added test gimbal function

This commit is contained in:
bpmcgeeney
2021-11-14 14:23:28 -07:00
parent 8fa9dba55e
commit 82e43b1fe8
2 changed files with 40 additions and 4 deletions

View File

@@ -58,8 +58,8 @@ void setup() {
delay(5000);
Serial.println("Simulation Countdown:");
for (int i = 0; i < 15; i++) {
Serial.println(15 - i);
for (int i = 0; i < 10; i++) {
Serial.println(10 - i);
delay(1000);
}
@@ -72,9 +72,10 @@ void setup() {
servo1.attach(pin_servo1);
servo2.attach(pin_servo2);
servo1.write(0);
servo2.write(0);
testGimbal(servo1, servo2);
Serial.println("Servos Tested");
delay(1000);
Serial.println("Simulated Vehicle Initalized");
// Determine when to burn