User:Zalán Szakács/grad prototyping: Difference between revisions
Line 22: | Line 22: | ||
==How to use Arduino? == | ==How to use Arduino? == | ||
<pre> | |||
* | |||
* Zalan's first Program | |||
*/ | |||
int ledPin = 13; | |||
void setup() | |||
{ | |||
//initialize pins as outputs | |||
pinMode(ledPin, OUTPUT); | |||
} | |||
void loop() | |||
{ | |||
digitalWrite(ledPin, HIGH); | |||
delay(1000); | |||
digitalWrite(ledPin, LOW); | |||
delay(1000); | |||
} | |||
</pre> | |||
== Light-Emitting Diodes (LEDs) == | == Light-Emitting Diodes (LEDs) == |
Revision as of 10:39, 2 October 2018
P R O T O T Y P I N G
What is a Circuit?
What are Resistors?
conversion calculator resistor color code
How to use Arduino?
* * Zalan's first Program */ int ledPin = 13; void setup() { //initialize pins as outputs pinMode(ledPin, OUTPUT); } void loop() { digitalWrite(ledPin, HIGH); delay(1000); digitalWrite(ledPin, LOW); delay(1000); }