william67 1 Posted August 8, 2016 Share Posted August 8, 2016 (edited) Hi, I have just bought a Grove Base Boosterpack for the LaunchPad C3200 and loaded the example for testing the relay on pin 39 (J14): #define RELAY_PIN 39 /* the setup() method runs once, when the sketch starts */ void setup() { pinMode(RELAY_PIN, OUTPUT); // initialize the digital pin as an output. } // the loop routine runs over and over again forever: void loop() { digitalWrite(RELAY_PIN, HIGH); // turn the relay on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(RELAY_PIN, LOW); // turn the relay off by making the voltage LOW delay(1000); // wait for a second } In stead of the relay the Yellow Led turns on and off for a second, the other output pins 40,38,37,36. Can someone help me with this, i am new to cc3200 programming? Regards, William Edited August 9, 2016 by bluehash [ADMIN] Please use code tags next time. Quote Link to post Share on other sites
cubeberg 540 Posted August 8, 2016 Share Posted August 8, 2016 I haven't tried the Relay module with the 3200 - maybe move it to 38 and J15? 39 shouldn't really be affecting the yellow LED, that's on 9. Maybe @@bluehash can move this post to the Energia forum? Quote Link to post Share on other sites
Fmilburn 446 Posted August 9, 2016 Share Posted August 9, 2016 Looks like a bug.... I don't have a grove boosterpack either but when I run the sketch the yellow LED blinks and I don't get anything on pin 39. Looking at pins_energia.h for the CC3200 LaunchPad shows that pins 9 and 39 are mapped to the same port and pin. Edit: reported on github Quote Link to post Share on other sites
william67 1 Posted August 9, 2016 Author Share Posted August 9, 2016 @@cubeberg, thanks for your reply, move over to pin 38 (J15) does not solve the problem, all the digital pins on the boosterpack are not working, not with the relay, not with a voltmeter. @@Fmilburn, thanks for your replay en reporting it on github. Reagards William Quote Link to post Share on other sites
cubeberg 540 Posted August 9, 2016 Share Posted August 9, 2016 @@william67 - that's definitely odd - I'm seeing some overlap between other pins too - if the labels are correct. Quote Link to post Share on other sites
Ztone 0 Posted February 22, 2019 Share Posted February 22, 2019 Hi William: I am meeting the same problem,. Even i connected the J14, the yellow led blink. My code also is same with you , so i want to ask you how you solve this problems. Regards, Xu 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.