make LED go ON and OFF using Microcontrollerkeshena2017-07-31T09:47:36+00:00Home › Forums › Arduino Tutorial Discussions › make LED go ON and OFF using MicrocontrollerTagged: Arduino, Blink, LEDThis topic contains 1 reply, has 2 voices, and was last updated by Bitahwa Bindu 1 year, 3 months ago.Log In Register Lost PasswordAuthor Posts31/07/2017 at 09:47 #2563 keshenaParticipantHi, I need help. I’m trying to make an LED go on and off using a micro controller, but using a bush button. If i press it once it turns the LED on and it remains on, if I press it again it turns the LED off. Please help me make that code.31/07/2017 at 10:12 #2567 Bitahwa BinduKeymasterHI. You can use the compliment operator ‘~’ to invert the current status. If button is pressed, it compliments the output.Author PostsLog In Register Lost PasswordYou must be logged in to reply to this topic.