Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Interrupt Resistor Mode Options?


  • Please log in to reply
No replies to this topic

#1 sjmill01

sjmill01

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSouth Carolina

Posted 13 June 2015 - 03:12 PM

I have used these lines of code successfully for PWM:

 

inputPort13 = new InterruptPort(Pins.GPIO_PIN_D13, true, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth);
            inputPort13.OnInterrupt += new NativeEventHandler(inputPort_OnInterrupt13);

For ResistorMode, if I use "Pulldown" or "PullUp" instead, are the resistors built in to the Netduino or would I make an external circuit on my signal wire?

 

Also, is there a preferred resistormode to use?

 

Thanks,

Sean






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.