Bit 4 of Port B is connected to a switch that normally outputs a zero. Monitor this switch to detect a change from zero to one. Immediately when it becomes one, call a function to toggle Bit 5 of Port B, which is connected to an LED. Use an exclusive-OR operation to toggle PB5 two times. After the function call, the code should branch to the line that monitors PB4.


Detailed answers to tough
homework problems