Difference between revisions of "Step2: The very basic experiments with Maduino"

From MakerFabsWiki
Jump to: navigation, search
(创建页面,内容为“==Task for this Step== <BR> <BR> ''' Light up and control the LED which is controlled by Digital 13! ''' <BR> === step1: Connect Crowduino to PC === As you read...”)
(No difference)

Revision as of 01:58, 8 October 2017

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 Maduino 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