Difference between revisions of "New Sensor Draft Page"
From Microduino Wiki
Microduino (talk | contribs) (→Arduino) |
Microduino (talk | contribs) (→Arduino) |
||
Line 12: | Line 12: | ||
*Key Functions | *Key Functions | ||
− | <syntaxhighlight lang="cpp" highlight="1, | + | <syntaxhighlight lang="cpp" highlight="1,2"> |
int pinNum = 10; | int pinNum = 10; | ||
digitalWrite(pinNum, HIGH); | digitalWrite(pinNum, HIGH); |
Revision as of 16:09, 31 July 2017
Functionality
Specifications
Usage
Arduino
- Required Libraries:
- Key Functions
int pinNum = 10;
digitalWrite(pinNum, HIGH);
delay(10);
digitalWrite(pinNum, LOW);