#include <Keypad.h>
const int PINO_LED_VERDE = 15;
const int PINO_LED_VERMELHO = 2;
void setup() {
// put your setup code here, to run once:
pinMode(PINO_LED_VERDE, OUTPUT);
pinMode(PINO_LED_VERMELHO, OUTPUT);
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}
void maquina(){
int estado = 0;
int soma = 0;
while(1){
switch(estado){
int entrada =
case 0:
if(soma >= 100){
estado = 1;
}
break;
case 1:
break;
}
}
}