1. Can I safely connect +5V to a digital input (or 4), and leave it
high for an extended period without having to worry about overheating or
other issues? Probably a dumb question, I know, but I'm still learning
the ins and out of this stuff.
2. Do I need pull-down resistors to ground on each of the digital
pins? I guess I don't understand the necessity of that. Also, is my
terminology correct?
3. What's an elegant way to read those pins in as a byte? I know I can
multiply the pin value by 2^n and add them all up, but it seems like
there's got to be a smarter way. Maybe I can read a register with the
pin values and mask off those bits?
Thanks in advance,
-Hans
_______________________________________________
dorkbotpdx-blabber mailing list
dorkbotpd...@dorkbot.org
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
> The pins are best set up for connecting them to ground and using the
> internal pull up resistors.
oh goddammit ... nobody told me there were internal pull-up resistors!
on which pins? how do i use them? how did i miss them?
-m-
---
HELP! A Bear is Eating Me!
http://helpabeariseatingme.com
This is where Don jumps in to remind everyone to read the manual... ;~)
(sorry... I can give a snide response since I don't actually know...
and I don't have time to look it up right now)
snarkily yours,
thomas