Jump to content
43oh

Recommended Posts

Hi, I think that some of my pins are ruined. I am not getting the output from them. I am pretty sure that the code is not faulty since when I saw it was not working in Keil, I tried the code in Energia and as you know there is not much room for error in that. 

void setup()
{
   pinMode(PA_5,OUTPUT); 
}

void loop()
{
   digitalWrite(PA_5,HIGH); 
}

 

This is not working. I replaced PA_5 with PA_2, and connected the wire from PA5 to PA2, and did nothing else to the hardware. Working. Is there ANY other explanation than a ruined board? also the same thing with PB_7. these are the two that I noticed. I am depressed guys, please help.

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.

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