Question: Arduino programing im looking for help with the programing part here this is in arduino. Assignment: You are asked to create a simple adding machine.

Arduino programingArduino programingim looking for help with the programing part here this isim looking for help with the programing part here this is in arduino.

Assignment: You are asked to create a simple adding machine. The machine should be sending a serial communication at 9600 baud rate saying the "The current count is at x" where x is the count value. Every time a user hits the add button the count should increase the count by 10 and every time they hit the subtract button it should decrease by 1. You will need to wire it up so the 2 buttons have a pull down resistor. Make sure that when you hit the button it only adds/subtracts once to the count and doesn't add/subtract multiple times if the button is held down. Physical Set up: 1. Wire 2 buttons to pins 3 (Add) and 4 (Subtract) so when the button is pressed pins 3 or 4 read HIGH 2. Make sure to include pull down resistors Programming Requirements: 1. The program begins by reading "The current count is at O" 2. Every time a button is pressed send over serial the new count. 3. The count only changes once for each press of a button. (using a delay) function will not work if a button is pressed too quickly or for too long and should not be used in this exercise) Assignment: You are asked to create a simple adding machine. The machine should be sending a serial communication at 9600 baud rate saying the "The current count is at x" where x is the count value. Every time a user hits the add button the count should increase the count by 10 and every time they hit the subtract button it should decrease by 1. You will need to wire it up so the 2 buttons have a pull down resistor. Make sure that when you hit the button it only adds/subtracts once to the count and doesn't add/subtract multiple times if the button is held down. Physical Set up: 1. Wire 2 buttons to pins 3 (Add) and 4 (Subtract) so when the button is pressed pins 3 or 4 read HIGH 2. Make sure to include pull down resistors Programming Requirements: 1. The program begins by reading "The current count is at O" 2. Every time a button is pressed send over serial the new count. 3. The count only changes once for each press of a button. (using a delay) function will not work if a button is pressed too quickly or for too long and should not be used in this exercise)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!