diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000000000000000000000000000000000000..011f18478da61d7bd6f26c9377515ed3164bd7d1 --- /dev/null +++ b/main.cpp @@ -0,0 +1,36 @@ +#include "Arduino.h" + +#include "photo.h" + + + + +void setup() +{ + +} + + +void loop() +{ + + Photo Camera; + // turn on the camera + Camera.power_on(); + + delay(1000); + + // focus the camera + Camera.focus(1000); + // take a picture + Camera.take_picture(); + + delay(1000); + + // // turn off the camera + Camera.power_off(); + // //lire mesure + + + delay(1000); +}