Question: Write a C function to flash a given number on LEDs connected to portb. The number should be flashed 3 times, each time followed by
- Write a C function to flash a given number on LEDs connected to portb. The number should be flashed 3 times, each time followed by 0x00. The time between flashes should be 200mS. The prototype for the function is as follows;
void Flash_Number(unsigned char number);
You should write the C code for the function then show an example of how the function is called.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
