Cov txheej txheem:

Yuav ua li cas kuv muab ob Arduinos?
Yuav ua li cas kuv muab ob Arduinos?

Video: Yuav ua li cas kuv muab ob Arduinos?

Video: Yuav ua li cas kuv muab ob Arduinos?
Video: Ntsaim vaj - Muaj poj niam lawm ua tsis tau li cas ( Official MV ) Nkauj tawm tshiab 2020 2024, Kaum ib hlis
Anonim

Kauj ruam 1: Lub cev tau txais cov duab kos rau hauv tib FileEdit

  1. Yog li tsim cov duab kos tshiab thiab txuag nws hauv lub npe ntawm Blink_Fade.
  2. Qhib lub blink thiab ploj sketches los ntawm cov ntaub ntawv -> Piv txwv -> Basics zaub mov.
  3. Siv daim ntawv theej thiab muab tshuaj txhuam kom txav cov lej los ntawm txhua qhov ob sketch rau hauv ib qho tshiab thiab ces txuag tus tshiab.

Tsis tas li ntawd, koj puas tuaj yeem txuas ob Arduinos?

Ua ntej, koj muaj txuas ob leeg Arduinos rau ib leeg. Rau qhov no, tsuas yog peb xaim xwb. Txuas tus GND tus pin ntawm thawj Arduino rau GND ntawm lwm tus; ua tib yam siv A4 thiab A5 tus pins.

Qhov thib ob, kuv yuav muab cov lej sib koom ua ke li cas? Ua ke cov lis dej num rau hauv ib qho Right-click rau a code ntawm koj xaiv thiab xaiv "Tsav coded ntu". Tam sim no txoj cai-nias ntawm qhov thib ob code koj xav tau ua ke nrog thawj tus thiab xaiv "Tsav cov ntu ntu ntawm [lub npe ntawm thawj code ]”.

Ib sab ntawm no, Arduino puas tuaj yeem khiav ntau daim duab kos?

Ib ua tau tsuas upload ib zaug xwb daim duab rau a arduino board, nws yog ib txoj cai arduino board, ib daim duab rau khiav . Yog koj muaj ntau sketches txhua tus nrog lawv tus kheej teeb() thiab voj() ua haujlwm ces koj ua tau 'tsis muab lawv los ntawm kev siv tabbed kho qhov rais, ib yam li koj dua ua tau tsuas yog sau thiab thauj ib qho daim duab.

Dab tsi yog sketch hauv Arduino?

A daim duab yog lub npe Arduino siv rau qhov program. Nws yog chav tsev ntawm code uas yog uploaded rau thiab khiav ntawm ib tug Arduino lub rooj tsavxwm.

Pom zoo: