Question: Write a C program to read data input from 4 switches connected to Port D. If all switches are ON send the data to Port
Write a C program to read data input from 4 switches connected to Port D. If all switches are ON send the data to Port B; otherwise, send it to Port C. Verify your program using Serial Monitor.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
