This file contains 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 ledVerde = 7; | |
int botaoVerde = 5; | |
int estadoVerde; | |
void setup() { | |
pinMode(ledVerde,OUTPUT); | |
pinMode(botaoVerde,INPUT); | |
Serial.begin(9600); |
This file contains 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
#include <Servo.h> | |
Servo servo; | |
int potenciometro = A1; | |
int leitura; | |
void setup() | |
{ | |
servo.attach(9); | |
Serial.begin(9600); |
This file contains 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 leitorLuminosidade = A1; | |
int sirene = 2; | |
int luminosidade = 0; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(sirene,OUTPUT); | |
} | |
void loop() { |
NewerOlder