Sxemotexnika va robototexnika asoslari


digitalWrite(___,___);delay(___________)


Download 4.43 Mb.
bet4/4
Sana15.11.2023
Hajmi4.43 Mb.
#1773717
1   2   3   4
Bog'liq
Ma\'ruza 1

digitalWrite(___,___);delay(___________);

digitalWrite(___,___);delay(___________);

digitalWrite(___,___);delay(___________);

digitalWrite(___,___);delay(___________);

digitalWrite(___,___);delay(____________);}

4. 8 ta svetodiod oling. Uni tartib bilan Arduinoga ulab oling va avval 1-svetodiod yonib-o’chadi ,keyin 8-svetodiod yonib-o’chadi , 2-svetodiod, 7-svetodiod ,3-6, 4-5 yonib-o’chish dasturini yozing.

5. Birinchi toq o’rinda turgan svetodiodlarni yoqib borsin keyin juft o’rinda turgan svetodiodlarni yoqib boring.

6. 1-svetodioda bir marta o’chib yonadi, 2-svetodiodda ikki marta o’chib yonadi ........ 8-si sakkiz marta.

7. Avtomobil va piyodalar svetoforlarini bir-biriga bog’lab boshqaring.


Download 4.43 Mb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling