Pauliet 0 Posted November 15, 2016 Share Posted November 15, 2016 Hello Group, While I am new to this group, I have been designing hardware and developing software since I had hair and it wasn't grey. I am trying to use the CC3200 LaunchPad for a simple IoT demo, but I am having a lot of trouble finding the pin assignments; pinMode(RED_LED, OUTPUT), So I came here for help. It must be easy to find since so many people are using Energia and doing things with the CC3200, I'm probably missing something simple. Paul Quote Link to post Share on other sites
Fmilburn 445 Posted November 15, 2016 Share Posted November 15, 2016 Hello @@Pauliet and welcome to 43oh... The pin maps are at energia.nu. For example, the pin map for the CC3200 is here: http://energia.nu/pin-maps/guide_cc3200launchpad/ The red LED is at pin number 29. Or you can look in pins_energia.h for your processor / variant. For the CC3200 it is listed like so: static const uint8_t RED_LED = 29;static const uint8_t GREEN_LED = 10;static const uint8_t YELLOW_LED = 9;static const uint8_t PUSH1 = 3;static const uint8_t PUSH2 = 11;static const uint8_t A0 = 23;static const uint8_t A1 = 2;static const uint8_t A2 = 6;static const uint8_t A3 = 24; Or you could write a little sketch and just print it out.... void setup(){ Serial.begin(9600); Serial.print("RED_LED = "); Serial.println(RED_LED); } void loop(){ } Note that you may find sketches that use pin nomenclature like P1.0 coded as P1_0. This has is being deprecated so use the pin numbers or assigned variable names instead in Energia. Quote Link to post Share on other sites
Fmilburn 445 Posted November 15, 2016 Share Posted November 15, 2016 Oops... Double posted. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.