Jump to content
43oh

simalrow

Members
  • Content Count

    3
  • Joined

  • Last visited

About simalrow

  • Rank
    Noob Class

Profile Information

  • Location
    Australia
  • Interests
    MSP430
  1. P.S. this is the compiler warning message I received for the original code, still a bit confusing to me:- DigitalReadSerial.ino: In function 'void loop()': DigitalReadSerial.ino:31:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]DigitalReadSerial.ino: In function 'void loop()': DigitalReadSerial.ino:31:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  2. Thank you, all good now. Is there a way to automatically filter only the compiler warning messages from the large list of messages produced ? Apologies for being a newbie with Energia
  3. WHY IS THIS If statement NOT WORKING? Hi, I added some code to the example program to send an alphaumeric string to com port to identify the input but the iF statement does not work as expected and cannot understand why ? It always goes to else line regardless of buttonState being 0 or 1 Advice would be appreciated Cheers /* DigitalReadSerial with on-board Pushbutton Reads a digital input on pin 5, prints the result to the serial monitor Harware Required: * MSP-EXP430G2 LaunchPad This example code is in the public domain. */ // digital pin 5 has a pushbutton attached to
×
×
  • Create New...