Ananthan 0 Posted May 14, 2014 Share Posted May 14, 2014 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. Quote Link to post Share on other sites
OppaErich 25 Posted May 15, 2014 Share Posted May 15, 2014 How do you check output ? This does nothing but pulling the pin high. Have you tried input aswell ? 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.