hi Andy Chen,

I would research your circuit a little further.

You would normally have resistors for each switch to limit current.

Also, circuits often have pullup/pulldown resistors. Some of the GPIO's
have these resistors installed externally, most have internal
pullup/pulldown resistors that can be set with software.

regards
Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=116271

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to