Difference between revisions of "Step2: The very basic experiments with Maduino"
(→step1: Connect Maduino to PC) |
(→step1: Connect Maduino to PC) |
||
Line 4: | Line 4: | ||
''' Light up and control the LED which is controlled by Digital 13! ''' | ''' Light up and control the LED which is controlled by Digital 13! ''' | ||
<BR> | <BR> | ||
− | === step1: Connect | + | <BR> |
− | As you read this section, I beleve you have connected your | + | === step1: Connect Crowduino to PC === |
+ | As you read this section, I beleve you have connected your Croduino to PC and installed the Driver as the [http://www.Makerfabs.com/wiki/index.php?title=Step1:_Download_Arduino_IDE_and_install_Arduino_driver Step1]. | ||
<br> | <br> | ||
Revision as of 02:04, 8 October 2017
Contents
Task for this Step
Light up and control the LED which is controlled by Digital 13!
step1: Connect Crowduino to PC
As you read this section, I beleve you have connected your Croduino to PC and installed the Driver as the Step1.
step2: Open the Blink example
Open the LED blink example sketch: File->Examples->01.Basics->Blink.
File:Getting Started1.png
step3: Select your board
You'll need to select the entry in the Tools > Board menu that corresponds to your Arduino. 在Here we need to select ATmega328.
File:Getting Started2.png
step4: Select your Serial Port
Select the serial device of the Arduino board from the Tools | Serial Port menu.
File:Getting Started3.png
step5: Upload the program
Now, simply click the "Upload" button in the environment. Wait a few seconds - you should see the RX and TX leds on the board flashing. If the upload is successful, the message "Done uploading." will appear in the status bar.
File:Getting Started4.png
step6: Modify the code as you like
As you see the "Uploading Done", it means that the program has been download to your Crowduino. You should see the pin 13 (L) LED on the board start to blink with a interval of 1s. Try to modify the val of delay() , you will see the blink interval changing.
400px