Lab Debrief
Gettings Started with the MSP430 - Using Energia (Arduino) 8 - 39
Q&A: Lab8C (1)
5. Did you see numbers in the serial monitor? ___________________________
If using ‘G2553 LP you might not have seen anything in the Serial Monitor. If so, change:
_____________________________________________________________________
Yes
Change the serial-port jumpers
Note – changing jumpers is only needed for ‘G2553 Value-Line Launchpad
Q&A: Lab8C (2)
Blink with Serial Communication (Serial_Button sketch)
9. Did you see the Serial Monitor and LED changing when you push the button?
______________________
10. Considerations for debugging… How you can use both of these items for debugging?
(Serial Port and LED)
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
You (we hope so)
Use the serial port to send back info, just as you might use printf() in your C code.
An LED works well to indicate you reached a specific place in code. For example,
later on we’ll use this to indicate our program has jumped to an ISR (interrupt routine)
Similarly, many folks hook up an oscilloscope or logic analyzer to a pin, similar to
using an LED. (Since our boards have more pins than LEDs.)