Arduino Blink - Invert Pin State Method

preview_player
Показать описание
Conventional blink in arduino uses digitalWrite(pin,HIGH) and then digitalWrite(pin,LOW).
In this video you can make blink program by using this single line of code digitalWrite(pin,!digitalRead(pin)).
The " ! " inverts the current state of the pin where the LED is connected.

Arduino Board discussion:

Please don't forget to Like and Subscribe for more upcoming videos.THANK YOU!

Background Music Credits to:
Рекомендации по теме
visit shbcf.ru