Villeicht hat jemand Spass, ich bin gerade beim Testen.
http://www.virtualbreadboard.net/Default.aspx
Say you have an Arduino source code file you want to simulate. There are lots of Arduino example built into VBB but this tutorial shows you how to do it from scratch?
- Starting with a Arduino application called Blink.pde on the desktop
- Start VBB and create a new Project
- Drag and Drop an Arduino board onto the Breadboard and then drag and drop a LED onto pin 13
- Save the project: Note Its important to save the project before adding source projects. We are calling the project MyBlink
- Copy your Arduino application into the MyBlink VBB Project folder
- Add an Arduino Source project to the folder by right clicking on the Project and selecting from the list.
- Add the Arduino Blink.pde Source file to to the Arduino Source Project by right clicking on the Arduino Source project. You can select Blink.pde from the list because it is in the project folder already
- NOTE: To view the source project you need to drag and drop it into a view panel
- You now need to link the source code project to the Arduino processor so you click the Arduino board and then select from the Application property the name of the project source
- You are now ready to run the simulation so click run and you will see the LED blink
- You can inplace edit your arduino code but you need to save it before you compile it. If you make syntax errors you will see those in the Errors List.