View Single Post
  #7   Spotlight this post!  
Unread 25-02-2004, 12:55
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Wiring "3-pin" Shaft Encoder.

Quote:
Originally Posted by Jay Lundy
Actually the pull-ups are internal to the PIC. You can disable them using a register.
Well, yes and no. The 18F8520 does have programmable weak pull-ups, but only on port b, which is mapped to digital I/O pins 1-6 on the FRC-RC and interrupts 1-6 on the EDU-RC. IFI has also included 100K pull-ups on most, if not all, I/O pins.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org