Coding Basics - Arduino / C

Beschreibung

Karteikarten am Coding Basics - Arduino / C, erstellt von Jenn Catterall am 06/11/2015.
Jenn Catterall
Karteikarten von Jenn Catterall, aktualisiert more than 1 year ago
Jenn Catterall
Erstellt von Jenn Catterall vor mehr als 8 Jahre
34
1

Zusammenfassung der Ressource

Frage Antworten
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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Alle Länder der Welt und ihre Hauptstädte
JohannesK
Allgemeine Pathologie / Einführung
Nicole Nafzger
Das Leben von Nelson Mandela
AntonS
Aufklärung und Sturm & Drang
Cassibodua
Online Karteikarten im Klassenraum
Laura Overhoff
Gesetzliche Sozialversicherung
Maximilian Mustermann
1 und 2. - Grundlagen SAP ERP und SAP NetWeaver
Oliver Becker2495
Vetie - Tierzucht & Genetik - S III
Fioras Hu
Bevölkerungssoziologie
Max H
Vetie - Radiologie - Wer wird Veterinär
Fioras Hu
Vetie Viro 2012
Alena Gesing