Jump to content
Sign in to follow this  
gatesphere

MSP430G2xxx Tea Timer

Recommended Posts

Why bother with the pull-up/pull-down resistors on the switches? You could drop them from your circuit and set:

P1OUT |= 0x08;  // Pull P1.3 resistor high
P1REN  = 0x78;  // Enable internal resistors for P1.3, P1.4, P1.5, P1.6

Share this post


Link to post
Share on other sites
Why bother with the pull-up/pull-down resistors on the switches?

I realized that after I had already done the write-up and posted it. But I think the resistors are just fine. They don't really bother me, aesthetically speaking, and I just feel more satisfied knowing that the hardware is there, and working.

 

Thanks, though!

Share this post


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.

Sign in to follow this  

×
×
  • Create New...