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.