Jump to content

TI CC3200 Relay on Pin 39 not working

Recommended Posts



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?





Edited by bluehash
[ADMIN] Please use code tags next time.
Link to post
Share on other sites
  • 2 years later...

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