Question: Write a program that continuously gets a single bit of data from P 2 . 1 and send it to P 1 . 0 ,

Write a program that continuously gets a single bit of data from P2.1 and send it to P1.0, while simultaneously creating a square wave of 150s period on pin P1.5. Use timer 1 to create square wave. Assume that XTAL =40MHz

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!