Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need Answer ASAP!! Try to finish the code to transmit an increasing count to t

ID: 3778643 • Letter: I

Question

I need Answer ASAP!!

Try to finish the code to transmit an increasing count to the terminal on your computer using the XBee modules. First, create a new project in Code Composer. Be sure to select the right device. Then replace the contents of the main.c file with the one provided here. Modify the code as specified in the comments of the code. Next download CoolTerm by going to  http://download.cnet.com/CoolTerm/3000-2383_4-10915882.html. Extract the zip to a folder in your U: drive. After that, open up the application and wait until you have uploaded the code to your board. When the code has been uploaded and ran, carefully take the chip off of the LaunchPad and place it in the proper location on the protoboard. After this, contact the instructor to give you directions on using CoolTerm.

Bonus: Create an ISR that sends the count only when the pushbutton connected to P1.3 is pressed.

Explanation / Answer

interrupt void USCI0RX_ISR()
{
UCA0TXBUF = count++; // transfers the count
}
interrupt void USCIORX_ISR()
{
P1OUT = count; // P1OUT is assigned to count
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote