Main Site Documentation

Analog Input


I use the program of analog input . Through debuging the program with the board of FEZ_Panda_II,the result turn out error:a3000000.
The debug window display the sentences:
Link failure: some assembly references cannot be resolved!!
Assembly: MFWindowApplication1 ( needs assembly ‘Microsoft.SPOT.TinyCore’ (4.1.2821.0)
Assembly: MFWindowApplication1 ( needs assembly ‘GHIElectronics.NETMF.Hardware’ (
Error: a3000000
Waiting for debug commands…
程序[14] Micro Framework application: 托管已退出,返回值为 0 (0x0)。”

The code is below.
using System;
using System.Threading;
using Microsoft.SPOT;
using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.Hardware;

namespace MFConsoleApplication1
public class Program
public static void Main()
AnalogIn lightSensor = new AnalogIn((AnalogIn.Pin)FEZ_Pin.AnalogIn.An3);
lightSensor.SetLinearScale(0, 100);

        int lightSensorReading = 0;
        while (true)
            lightSensorReading = lightSensor.Read();



pls help me work out the problem.I am crazy now! ths.


This sugests something wrong with your firmware and sdk. I think, versions are different.

Is it your first project on this board?
Did you upgraded firmware, ghi sdk, or project recently?
Did you added all necesary dl’s in project reference section? Is their version maching your sdk and firmware?