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

Netduino Mini GPIO`s


  • Please log in to reply
2 replies to this topic

#1 shahid

shahid

    New Member

  • Members
  • Pip
  • 1 posts

Posted 04 November 2013 - 07:09 PM

Hi, 

 

New with everything :)

 

If i define 

 

OutputPort led = new OutputPort(Cpu.Pin.GPIO_Pin0, false);

 

which pin will be output pin on board?

and how pins in software are related to hardware like in netduino plus i saw its written.

 

Regards

 

Shahid



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 04 November 2013 - 07:40 PM

Hi Shahid, Cpu.Pin.GPIO_Pin0 refers to pin PA0 on the microcontroller itself. We recommend using the built-in pin mapping provided by the Pins.GPIO_PIN_## enumerations. For example, Pins.GPIO_PIN_D0 refers to digital pin 0. Welcome to the Netduino community, Chris

#3 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 05 November 2013 - 01:46 AM

Hi Shahid, Cpu.Pin.GPIO_Pin0 refers to pin PA0 on the microcontroller itself. We recommend using the built-in pin mapping provided by the Pins.GPIO_PIN_## enumerations. For example, Pins.GPIO_PIN_D0 refers to digital pin 0. Welcome to the Netduino community, Chris

Hello!

What he said. That's how I define them.



Doctor Who
"This signature does not exist!"




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.