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.

Magpie

Member Since 01 Aug 2011
Offline Last Active Dec 22 2014 11:47 PM
-----

Topics I've Started

RC5 I/O problems

08 June 2012 - 10:31 AM

Hi I have recently upgraded to RC5 but I can't get some basic functionality to work.


AnalogInput analogInput1 = new AnalogInput(Cpu.AnalogChannel.ANALOG_0);
    	AnalogInput analogInput2 = new AnalogInput(Cpu.AnalogChannel.ANALOG_0, 8);

I keep getting the following exception.

A first chance exception of type 'System.Net.Sockets.SocketException' occurred in Microsoft.SPOT.Net.dll
A first chance exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll


Any ideas?

Also does somebody have an RC5 pwm example? I am not sure of the mapping between the Netduino Pin numbers and the SPOT pins.

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.