Coding Basics - Arduino / C

Description

Flashcards on Coding Basics - Arduino / C, created by Jenn Catterall on 06/11/2015.
Jenn Catterall
Flashcards by Jenn Catterall, updated more than 1 year ago
Jenn Catterall
Created by Jenn Catterall almost 9 years ago
34
1

Resource summary

Question Answer
Function series of actions summarised by a small phrase e.g. makeCupOfTea ()
Two functions Arduino needs to exist? setup () and loop ()
setup () where you put all the code that you want to execute at the beginning of the programme
loop () core of the programme, executed repeatedly
// comments/notes - ignored by the programme, for users to understand the code
const int integer - constant, value is set
pinMode Tells Arduino how to configure a certain pin
Digital Pin Configuration Digital pins can be used either as INPUT or OUTPUT
Argument (arguments are the words or numbers specified inside these parenthesis) an argument is a value that is passed into a command, function, or routine
HIGH Pin is on, in Arduino will be 5V
LOW Off: 0V
digitalRead() checks whether there is any voltage applied to the pin specified between parenthesis returns a value of HIGH or LOW depending on findings can "ask" a question of Arduino & receive an answer
Show full summary Hide full summary

Similar

River Processes and Landforms
1jdjdjd1
Presentations in English
Alice McClean
Chemistry C1
Chloe Winn
Biology B2.2
Jade Allatt
Unit 1 flashcards
C R
Teaching Methods Every Educator Should Know
Micheal Heffernan
New GCSE Maths required formulae
Sarah Egan
Prueba de Integrales
José William Montes Ocampo
DEV I Part II
d owen
1PR101 2.test - Část 11.
Nikola Truong
Specific Topic 7.3 Timber selection
T Andrews