/* Project: default */
unsigned long Frecuencia_ = 0;
void setup()
{
pinMode(14, NOT_INPUT_PULLUP);
pinMode(12, NOT_INPUT_PULLUP);
pinMode(2, NOT_INPUT_PULLUP);
Serial.begin(115200);
}
void loop()
{
if(millis() - Frecuencia_ > 500){
Frecuencia_ = millis();
Serial.println((String(digitalRead(14)) + String(digitalRead(12)) + String(digitalRead(2))));}
}