
The arm of a small servo motor turns to three positions in turn: all the way to the start, right to the middle and all the way to the end, waiting two seconds at each stop. The Arduino tells the motor which angle to hold, and the motor moves there and stays put. You see how robot arms and automatic lids move.
Kod Sumber
Projek ini juga disertakan dengan blok. Seperti kod, blok dibuka dengan Premium. Apakah pengekodan blok?
Kandungan Premium
Kod sumber, versi blok dan soalan lazim projek ini terbuka untuk ahli Premium.
- Semua Kod Projek
- Versi blok
- Soalan Lazim
