Hi All,
The Arduino emulator YouTube Demo Here has been pretty popular in VirtualBreadboard so I figured Netduino might be interesting also.
-- EDIT
The netduino 'emulator' that integrates with VBB has been discontinued in favour of a different approach. The problem is that Microsofts emulator interface is not at all well suited for driving fast signals and resulted in a simulation that was too slow.
Some people have started with VBB based on this post which is no longer accurate so I am updating it to avoid confusion.
There is some more info on the new approach here
- Netduino Forums
- → Viewing Profile: Topics: VBB
The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
Community Stats
- Group Members
- Active Posts 6
- Profile Views 4680
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
0
Neutral
User Tools
Friends
VBB hasn't added any friends yet.
Topics I've Started
VirtualBreadboard Emulator Support for Virtual Netduino
18 May 2011 - 11:14 PM
Emulated vs Realware Detection
07 May 2011 - 08:25 PM
Hi, I am developing an emulator for the Netduino. Its all looking pretty good but there is a bit of an inconvienience in the emulator in that it doesnt pass through certain events. ie if a pin changes mode from Output to Input you cant detect it in the emulator
Anyhow... to cut long story short I have a workaround but is there a way to determine if an Netduino application is running in the real hardware vs an emulator. Then I could make sure the work-around only applies to emulated code, else its a conditional compile which is not as nice.
Cheers,
VBB
Changing OutputPort to a InputPort and vica versa
05 May 2011 - 03:53 PM
Hi All,
Often you need to use a Pin as a Tristate, ie sometimes it is an InputPin and sometimes it is an OutputPin. For example when bitbanging I2C where HIGH is a pin in input mode.
How is this handled in the .NET Micro Framework. ( I dont have a board yet to try it out )
eg.
OutputPort PinOut = new OutputPort(Pins.GPIO_PIN_D0, false);
//Do I need to do something to reelase the PinOut, else can there be a conflict or does new InputPort() make the changes.
InputPort PinIn = new InputPort(Pins.GPIO_PIN_D0, true, Port.ResistorMode.PullUp );
Then comes the question of efficiency, if the above is correct you create a new Object per tris change. This is not a good idea for high bandwidth things eg. bitbanged I2C. Is there a way to do something like
PinOut.activate();
PinIn.activate(); //Releases the output driver in PinOut
In Arduino for example you just use the PinMode(0,INPUT), PinMode(0,OUTPUT) etc
Thanks.
- Netduino Forums
- → Viewing Profile: Topics: VBB
- Privacy Policy