I'm a big fan of Netduino and do see it as the future for all PIC programmers out there. I currently work at Manchester Metropolitan University (MMU) we teach our students c# and one of the Hardest things for many is to shift to a different language for real world applications. Netduino now offers an affordable way for us to demonstrate this to them and I'm looking forward to pitching this idea for next years syllabus. Know it has been discussed before about a better Emulator than that supplied by Microsoft more tailored to Netduino users. With thanks to hwiguna who first pointed me of in the right direction (www.youtube.com/watch?v=lp3Ts2OeLjs&feature=related) of the code required.
I've taken this a little further and wish to create something a little more advanced. The file I've attached currently allows the Cpu.Pin.GPIO_Pin0 pin to be set as an input or output and when run as the emulator if you click on the button "Load Input/Outputs" it will either produce a push button switch (input) or a LED (output) this can be used much in the same way as the onboard switch and LED however there outputs. I still have to work on setting up the Analogue inputs/outputs.
(Note: The reason we configure the pins after the emulator has loaded is due to the main program being loaded after the emulator is loaded. So when the emulator is loaded it has no idea about the state of the pins)
I'm hoping by the end of today to have all the digital inputs set up like this and I'll upload this later. What I'm after is anyone who has c# knowledge as XML is not needed, I have none :s, to collaborate this project with. This emulator is open source and there will never be a license allowed for it ideally if we can get this up to scratch it will make the Netduino very user friendly especially for beginners.
Try running a few of the examples in NetduinoApplication by commenting out the current one and un-commenting another I've also attached a screen Shot of the emulator if anyone fancies a peak just Note that the button and LED only appear when appropriate input/output is selected.
Produce a new set up for pins allowing the user to select
push button switch
Graphical Display (Especially Useful for Analogue and PWM)
While this seems like a lot if we split the work it shouldn't take to long much of the works has been done by Onir (http://netduinoemulator.codeplex.com/) who with great thanks has made it easy for me to get access to data from the pins.
I'll try and get a video up when it's complete but if anyone wants to supply one please do as I have don't have the software for it yet!
Many Thanks for Reading
Please note the update version 1.24 is available in a post lower down or
Edited by c_johnson, 02 September 2010 - 10:29 AM.