Assembly SecretLabs.NETMF.Hardware.Netduino, Version=4.3.1.0
Exception: 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
Using the above assembly for Netduino 3 Wifi builds fine but generates an exception when you instantiate new AnalogInput with the precision set to other than the default 12 bits.
The following program fails.
`using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
namespace AnalogPortPrecision
{
public class Program
{
public static void Main()
{
AnalogInput a0 = new AnalogInput(AnalogChannels.ANALOG_PIN_A0, 3.3, 0.0, 11);
}
}
}
`
Assembly SecretLabs.NETMF.Hardware.Netduino, Version=4.3.1.0 Exception: 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll Using the above assembly for Netduino 3 Wifi builds fine but generates an exception when you instantiate new AnalogInput with the precision set to other than the default 12 bits. The following program fails.
`using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware.Netduino;
namespace AnalogPortPrecision { public class Program { public static void Main() { AnalogInput a0 = new AnalogInput(AnalogChannels.ANALOG_PIN_A0, 3.3, 0.0, 11); } } } `