Think I worked it out myself... Testing soon.
int LDRsensor = A0;
int Threshold = 150;
#include <Servo.h>
Servo s1;
Servo s2;
int maxnum = 1; // Blink the LED 20 times
int count = 0; // Our blink counter
void setup() {
Serial.begin(9600);
s1.attach(9);
s2.attach(10);
}
void loop()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.