POSITIVE LOGIC AND NEGATIVE LOGIC SWITCH TINKERCAD

 





CODE:-


void setup() {
  pinMode(2, INPUT);
  pinMode(8, INPUT);
           }

void loop() {
  int x = digitalRead(2);
    int y = digitalRead(8);
    
}


Comments

Popular posts from this blog

networks and security cia 1

emf