Arduino MEGA coding
Budget: £10 – £20 GBP
I need the code for a project using an Arduino MEGA, which will monitor approx 30 input switches, with corresponding outputs of approximately 200-300ms.
An Arduino Mega has 54 digital I/O pins that can be configured as either Inputs or Outputs. To implement the project, we need to define 11 Digital I/O pins as Inputs in a 6 x 5 matrix to scan the 30 switches, and define 30 Digital I/O pins as Outputs to provide the 300ms pulses corresponding to each of the 30 switches.
You need to provide the code to implement this situation, and also describe how the inputs will be configured in the matrix. Arduino MEGA ONLY - nothing else. If you are competent in Arduino programming this should be very straightforward.
An Arduino Mega has 54 digital I/O pins that can be configured as either Inputs or Outputs. To implement the project, we need to define 11 Digital I/O pins as Inputs in a 6 x 5 matrix to scan the 30 switches, and define 30 Digital I/O pins as Outputs to provide the 300ms pulses corresponding to each of the 30 switches.
You need to provide the code to implement this situation, and also describe how the inputs will be configured in the matrix. Arduino MEGA ONLY - nothing else. If you are competent in Arduino programming this should be very straightforward.