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

Cpu.Pins


Best Answer NooM, 07 July 2013 - 07:21 AM

dont use cpu.pins.

 

use just Pins.Yourpin.

cpu.pins are the hardware pins (like cpu.pin.1 = pin1 on the uC)

 

the Pins enum is from secretlabs wich references to the right pins.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 GaryDyksman

GaryDyksman

    New Member

  • Members
  • Pip
  • 6 posts

Posted 07 July 2013 - 06:33 AM

I had an interesting problem yesterday, after struggling with a PIR Sensor and Relay board, I discovered that the CPU.Pin enum is referencing the wrong pins, IE CPU.PINS._0 referenced PIN8 on my board. I am now busy updating VS2012 and then going to reinstall the SDK's to see if it sorts out my problem.



#2 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 07 July 2013 - 07:21 AM   Best Answer

dont use cpu.pins.

 

use just Pins.Yourpin.

cpu.pins are the hardware pins (like cpu.pin.1 = pin1 on the uC)

 

the Pins enum is from secretlabs wich references to the right pins.



#3 GaryDyksman

GaryDyksman

    New Member

  • Members
  • Pip
  • 6 posts

Posted 07 July 2013 - 07:52 AM

Doh. Thanks Noom...






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.