Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
k0xxx committed Apr 18, 2022
1 parent 7d41962 commit 0a95c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#include <SoftwareServo.h>

SoftwareServo servoControl; // Define servo control object
const int servoPin = 5; // Servo at Arduino digital
const int servoPin = 4; // Servo at Arduino digital
const int servoDefaultAngle = 0; // Servo default angle
const int servoTargetAngle = 120; // Servo target angle
const int servoDelay = 500; // Servo delay time in ms

const int prPin = 4; // Photoresistor at Arduino analog pin A0
const int prPin = 5; // Photoresistor at Arduino analog pin A0
int prValue; // Store value from photoresistor (0-1023)
const int prLaunch = 800; // Value of Photoresistor action

Expand Down

0 comments on commit 0a95c4f

Please sign in to comment.