Add flash...
This commit is contained in:
@@ -62,6 +62,7 @@ void setup() {
|
||||
|
||||
Serial.println("Telegram OK");
|
||||
|
||||
pinMode(4,OUTPUT);
|
||||
Serial.println("Awaiting for motion...");
|
||||
}
|
||||
|
||||
@@ -105,10 +106,12 @@ void loop() {
|
||||
|
||||
// capture new frame
|
||||
Serial.println("Capturing Frame");
|
||||
digitalWrite(4,HIGH);
|
||||
if (!camera.capture().isOk()) {
|
||||
Serial.println(camera.exception.toString());
|
||||
return;
|
||||
}
|
||||
digitalWrite(4,LOW);
|
||||
|
||||
Serial.printf(
|
||||
"Frame size is now %d bytes\n",
|
||||
|
||||
Reference in New Issue
Block a user