Void setup, This section of code initially runs once when the program is run, and is used to tell Arduino what to expect its input/output pins to be doing or connected to., Commands, Are an instruction given in a program that tells the computer to do something specific. The main ones we will work with are keywords., Semicolon ;, To tell Arduino it is at the end of that line of code., Void loop, This section of code runs over and over until the power is switched off or the program has an ending statement., Curly braces { }, These begin and end sections of code and Arduino needs them to recognise “paragraph structure” in your program., Comments, Are put into the program to remind the programmer or tell someone else looking at the program what is happening in that line or section of code. They are not compiled or ‘read’ by the compiler., Serial monitor, To allow you to see what the program is doing “in the background” even if your circuit doesn’t appear to be working. Serial monitor is a good way to check your code is correct/working.
0%
Programming Codes Part 1
共用
共用
由
Sharmini1
Secondary
DigTech
編輯內容
存檔
喜歡
列印
嵌入
更多
需要登錄
視覺風格
顯示所有
字體
活動設定
排行榜
作業
需要訂閱
活動設定
排行榜
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
顯示更多
顯示更少
匹配遊戲
是一個開放式範本。它不會為排行榜生成分數。
作業
您尚未與學生分享任何活動
要開始收集結果,請轉到任何活動頁面,然後選擇
Set assignment(設置分配
)。
確認您的設置並與學生共用生成的連結。
課業分配
切換範本
顯示所有
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?