Pre-Test:
https://forms.gle/gK24QyWM6PyrmpkPA
Sign in to the pre-test using yourName@esteem.com (with no spaces)
Syllabus:
Programming:
Go to https://idx.google.com/
Sign in with your Google Account if needed.
Use “import a repo”- copy and paste this link into “repo url”:
https://github.com/JohnInWI/robottemplate2024_final
1 2 3 4 5 6 7 |
"Read Temp Then Email": { "prefix": " 7emailTempHum", "body": [ "tempThenTweet('text before the temp and hum'); //this will read the temp & hum then tweet " ], "description": "Read Temp Then Email" } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
var imgURL = ""; var teachableData=[]; var runOnce=false; /////////////Image Function///////////////////////////////////////// function teachableCode(){ if (teachableData[0]==1) //replace condition1 with your condition { } else if (teachableData[1]==1) //replace condition2 with your condition { } else if (teachableData[2]==1) //replace condition2 with your condition { } } function updateRobotImage() { if (runOnce==false) { teachableCode(); } else if (runOnce==true) { } } |