Hi
If the ADC resolution is 12 bits (from 0 to 4095) why I only obtain a 10 bit result (0 to 1023) ?
and more: Why the line in red (reference [color=#ff0000;]pot1[/color]) do not compile ?
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
[color=#ff0000;]AnalogInput pot1 = new AnalogInput(Pins.GPIO_PIN_A1); // DO NOT COMPILE ! ![/color]
SecretLabs.NETMF.Hardware.AnalogInput pot =
new SecretLabs.NETMF.Hardware.AnalogInput(Pins.GPIO_PIN_A1);
// using the full path compiles, even with the 'using SecretLabs.NETMF.Hardware'
Thank You.