swirch

  1. B

    Will this code work propertly?

    I have 4 switches and 4 LEDs. I want to turn off the first LED with the first switch, the second one with the second switch, and so on. When I turn off the switch, LED should turn on. All switches connected to PORTA, all LEDs to PORTB. Initially, all LEDs are on. Will this code do the job...
Cookies are required to use this site. You must accept them to continue using the site. Learn more…