Arduino tutorials
Week 2–3 (9/7–18)
(I didn’t get the tutorial kit yet. I’ll update after purchasing one! For now, I’m just summarizing some points from the tutorials.)
- Intro to coding in Arduino
-File-Examples-Basics-Blinks
-Writing comments: sharing with others and for myself (*/. //)
-Set up / Loop
- First Arduino tutorial by Matt
-tools -board-selecting the model/port/ board info and look at the serial #
-Blink / SOS
- Piezo Buzzer tutorial
-tone(); -Pin, Frequency, Duration / noTone(); -Pin
-http://samsneatprojectblogcode.blogspot.com/2016/06/piezo-buzzer-code-and-fritzing.html
- Buttons
== (equal to)
=(is)
else (otherwise)
- Ultrasonic
pin connections: GND-GND/ VCC-5V/ Trig -digital pin 9 / Echo-digital pin 10
fritzing.org
github.com/fritzing/fritzing-app/releases
Arduino Sketch:
pastebin.com/TLUebVHi