1)What is meant by a button being connected “active low” to adigital input? Illustrate your answer by a simple circuitdiagram.
2)Explain a programming technique used to check whether an inputto a microcontroller has changed the value. Write sample C-code foran Arduino Due board to wait for a button press before continuingthe program. The button is connected “active low” to pin 8.
3) An Arduino Due board has a push-button connected “active low”to pin 6 and a LED connected “active high” on a pin
(i) Write a C-code segment which turns the LED on while the buttonis pressed, and turns it off when the
PayPal Gateway not configured
PayPal Gateway not configured