Difference between revisions of "New Sensor Draft Page"

From Microduino Wiki
Jump to: navigation, search
(Arduino)
(Arduino)
Line 12: Line 12:
 
*Key Functions
 
*Key Functions
  
<syntaxhighlight lang="cpp">
+
<syntaxhighlight lang="cpp" highlight="1,5-7">
 
int pinNum = 10;
 
int pinNum = 10;
digitalWrite(pinNum);
+
digitalWrite(pinNum, HIGH);
 +
delay(10);
 +
digitalWrite(pinNum, LOW);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

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);

Mixly

Scratch