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
  | ||||||||||||||
Netduino Mini GPIO`s
Started by shahid, Nov 04 2013 07:09 PM
2 replies to this topic
#1Posted 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
#2Posted 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
#3Posted 05 November 2013 - 01:46 AM
Hello! What he said. That's how I define them. Doctor Who "This signature does not exist!" 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||