Jump to content

DigitalReadSerial example not working

Recommended Posts

Have you confirmed that your Serial port is working? Depending on you LaunchPad version the jumpers are different and need to be set differently for hardware serial. You are using a G2553 and that has features a Hardware serial peripheral. With that in mind review the hardware pin mapping and serial jumper page here: https://github.com/energia/Energia/wiki/Hardware

Once you are sure that your jumpers are set right, try a Serial Sketch that does not depend on user input to work to make sure your Serial is set up correctly. I would load the ASCIITable example to test Serial.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...