Jump to content
Electronics-Lab.com Community

LM4F120


Guest elec123

Recommended Posts

Guest elec123

Hi guys, I'm a newbie to microcontroller programming and I recently bought the Stellaris LMF4120 launch pad. I got how to connect an external LED to one of pins and make it blink but I cant figure out how to connect a switch to the pin and take an input form the pin. Can someone please tell me what circuit you need to make the value of the pin 1 when the switch is pressed and 0 when not? thanks...

Link to comment
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.

Loading...
×
  • Create New...