1Program PACA to be an event counter Use 16bit mode and disp

1.Program PACA to be an event counter. Use 16-bit mode, and display the binary count on PORTB and PORTA continuously. Set the initial count to 20,000.

I need some help with this problem.A prompt response would be highly appreciated.Thanks.

Solution

PORTA = PORTA | 0x02;

PORTB = PORTB & ~0x0C;

1.Program PACA to be an event counter. Use 16-bit mode, and display the binary count on PORTB and PORTA continuously. Set the initial count to 20,000. I need so

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site