View
228
Download
0
Category
Preview:
Citation preview
Creating an Arduino Project from Scratch
Step 1: Double click New Project to create a new Project
Step 2: Click Save As.. and save the project - myFirstProject. ( click OK )
Step 3: Click in the Breadboard Title bar to select the breadboard view
Step 4: Open the Arduino Group and CLICK on the Arduino Board
NOTE: You click on the icon ie you release the mouse button.
Step 5: Move the mouse onto the breadboard page and click to place the
Arduino Board.
Note: The Board will be attached to he mouse so move it into position and
click to place it.
Step 6: Right click on MyFirstProject Project icon ( not solution icon) and select
the Source Projects/ Add Arduino Source Project
Step 7: Right Click the Source0.SRC project and select Add New Arduino
Source File
Step 8: Complete the dialog with the name of the sketch to use MyBlink for
example
Step 9: Cut and Past some code into MyBlink Source. For example the Blink
source from the Arduino distribution
Note: Don’t delete the first line class.. which is used by the emulator
framework
Step 10. Click on the Arduino Board and select the Source0 from the
properties
Step 11: Place a LED on pin 13 but clicking it from the UserIO group and
placing it on pin 13
Step 12: Click Save All
Step 13 : Click on the Breadboard panel to highlight it because this is the
panel you want to run.
Step 14: Press Run
Step 15: Should Switch to Runtime View and the LED Should start flashing
Step 16: Click stop to return to design view, change your code, model etc.
Recommended