मुझे डीबग कंसोल पर लिखने के लिए मेरा बहुत आसान नेटडिनो प्रोग्राम नहीं मिल रहा है; वी.एस. एक त्रुटिनेटडिनो नहीं "कंसोल। राइटलाइन", कंसोल वर्तमान संदर्भ में मौजूद नहीं है
नाम 'कंसोल' वर्तमान संदर्भ
कोई भी विचार क्या यह अस्तित्व में नहीं करने के लिए कारण हो सकता है में मौजूद नहीं है फेंकता है?
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.NetduinoPlus;
namespace LumenReader
{
public class Program
{
public static void Main()
{
AnalogInput photoResistor = new AnalogInput(Pins.GPIO_PIN_A0);
int photoVolt;
while (true)
{
photoVolt = photoResistor.Read();
Console.WriteLine(photoVolt);
}
}
}
}
संपादित
Debug.Print
@minitech इस लड़के को संकलित करने के लिए यह प्रतीत होता है http://ghadzhigeorgiev.wordpress.com/2011/09/20/multithreading-with-netduino-and-net-microframework-%E2%80 % 93-भाग -3/ – wmarbut