Jump to content

Energia port value for RED_LED

Recommended Posts

I'm using a Launch pad and the blink code from Energia. The Led works fine. Now I want to use the port PN 1 connected to the led value which is pin 108.

Using 108 instead of RED_LED doesn't work in the code - no Led lighting. Where are the header files so I can get this information?

Appreciate the help!

Link to post
Share on other sites

Hello ,

What started the thing off was the pin map or other docs on the web site do not address the RED_LED or GREEN_ LED real pins. Also the pin mode command requires a pin number or so I thought. I thought it was the pin number of the micro. To me after searching for a long time and finding pins_energia.h, it made perfect sense. There were no simple examples of blink showing that GREEN_ LED could be replaced with PN_1 or 81. I think you guys do a great job and Energia so far is a great quick way to get up and running. The site pages are busy but I'm running now -all is well.

Thanks for the support!

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...