void setup () {, Sets up the pins that will be used, only runs once, pinMode(#, OUTPUT);, Sets up the mode of the specific # pin to put out an action from an inputted code, void loop () {, Sets up the functions that will be repeated infinitely, digitalWrite (#, HIGH/LOW);, The code makes the digital pin 13 an OUTPUT and toggles it by alternating between HIGH (On) and LOW (Off) voltage, delay (1000);, The amount of time the action occurs, measured in milliseconds, Brackets, enclose the function being run.

Dissecting the 'Blink' Function

Rangliste

Visuel stil

Indstillinger

Skift skabelon

Gendan automatisk gemt: ?