Enable Pullups on GPIO Pins

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 630
Joined: Mon May 12, 2008 10:55 am

Enable Pullups on GPIO Pins

Post by SeeCwriter »

The Pins class doesn't appear to have a method for enabling/disabling pullups on GPIO pins. Is there a built-in way to do
that? I would like to enable the pullup on DSPI1_SIN.
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Enable Pullups on GPIO Pins

Post by dciliske »

They do not. You would have to get down and address the GPIO registers directly. :/

I'll look into whether that's a thing we can add to the PinIO class...

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Post Reply