This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int b1 = 2; | |
| int b2 = 3; | |
| int b3 = 4; | |
| int b4 = 5; | |
| int b5 = 6; | |
| // the setup routine runs once when you press reset: | |
| void setup() { | |
| // initialize the digital pin as an output. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int b1 = 2; | |
| int b2 = 3; | |
| int b3 = 4; | |
| int b4 = 5; | |
| int b5 = 6; | |
| // the setup routine runs once when you press reset: | |
| void setup() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Blink | |
| Turns on an LED on for one second, then off for one second, repeatedly. | |
| This example code is in the public domain. | |
| */ | |
| // Pin 13 has an LED connected on most Arduino boards. | |
| // Pin 11 has the LED on Teensy 2.0 | |
| // Pin 6 has the LED on Teensy++ 2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/Estrutura: | |
| # - Un archivo por codigo | |
| # - datos datetime + serial en la ultima posicion de la lista | |
| # selecionar nombre de lista con raw input | |
| # if seleciona el archivo para abrir y el archivo de escritura | |
| # escribir valor desde el puerto serial en la celda siguiente | |
| # raw input selecionar otro usuario | |
| import datetime | |
| import csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try: | |
| with picamera.PiCamera() as camera: | |
| print "Starting camera..." | |
| camera.resolution = resolution | |
| if format == 'jpeg': | |
| camera.quality = quality | |
| camera.start_preview() | |
| time.sleep(2) | |
| startT = time.time() | |
| print "Capture begin:" |