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  | ||||||||||||||
Cpu.Pins
Started by GaryDyksman, Jul 07 2013 06:33 AM
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
2 replies to this topic
#1Posted 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. #2Posted 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. #3Posted 07 July 2013 - 07:52 AM Doh. Thanks Noom... 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||