Question: Create a festive lights display with 8 light bulbs (B7-B0). When activated (A0=1), the appearance is of two balls bouncing off each other, as follows:
Create a festive lights display with 8 light bulbs (B7-B0). When activated (A0=1), the appearance is of two balls bouncing off each other, as follows: 10000001, 01000010, 00100100, 00011000, 00100100, 01000010, 10000001, repeat. Each output configuration lasts for one second. Use bit-manipulation methods (and, or, complement) rather than numeric values. When deactivated, the display turns off all bulbs within 3 seconds.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
