Pre-Assessment
Before we begin, we are going to have a pre-assessment. This is in no way a grade (so don't cheat!), it is only to help me know what type of background we have going into this unit. Go to the following Google Form to complete the pre-assessment: https://goo.gl/forms/YrsCCgukn9nrsJS42 Intro notes -starting the CS/CompE unit notes: notes_introcompsci.pdf -video to get you PUMPED FOR CODING: https://www.youtube.com/watch?v=nKIu9yen5nc Our first Arduino Project -Read through the following document. It will guide you through how to download a simple function on to your Arduino Uno: learningtocodeonarduino.pdf -The following code is the lines of code needed for your first project. Copy all of this into "Arduino IDE" (software to connect to an Arduino) to get started: int ledPinJason = 5; int ledPinJasonVal = 0; void setup(){ pinMode(ledPinJason, OUTPUT); } void loop(){ digitalWrite(ledPinJason, HIGH); delay(100); digitalWrite(ledPinJason, LOW); delay(100); }
1 Comment
heyy
11/7/2018 08:46:18 am
wcww
Reply
Leave a Reply. |
ResourcesArchives
December 2018
Categories |