(Solved): Please give mechatronic flow
chart for this.
Program Outcomes: When the button is pushed, the LED r ...
Please give mechatronic flow
chart for this.
Program Outcomes: When the button is pushed, the LED remains on and turns off when the button is released. The button state (up/down) will also be output using the serial port and Serial Monitor. Programming Tips: - In void setup(), remember to initialize the LED pin as OUTPUT and button pin as INPUT and the serial port 'Serial.begin();' - In void loop(), use if/else statements to determine if the input from the button pin is \( \mathrm{HIGH} \) or LOW