Difference between revisions of "New Sensor Draft Page"

From Microduino Wiki
Jump to: navigation, search
(Arduino)
(Usage)
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Functionality=
+
=About=
  
 
=Specifications=
 
=Specifications=
 +
*Important Components
 +
**MPU6050
 +
**BMP
  
=Usage=
+
*Pinout
 +
*Compatible Pins
 +
*I2C Address
  
 +
==Downloads==
 +
*CAD
 +
*Schematic
 +
*Chipset Datasheet
 +
*Other files
  
 +
=Usage=
  
 +
<tabs style="width:100%; color:{{#if:{{{1|}}}|green|red}}">
  
==Arduino==
+
<tab name="Arduino for Microduino" style="width:75%;">
*Required Libraries:
+
==Key Functions==
 +
*Required Libraries: None
 
*Key Functions
 
*Key Functions
  
<syntaxhighlight lang="cpp" highlight="1,5-7">
+
'''Note''': Important lines of code are highlighted
 +
<syntaxhighlight lang="cpp" line highlight="1,4,8">
 +
#include <iostream>
 +
void function(int i){
 
int pinNum = 10;
 
int pinNum = 10;
digitalWrite(pinNum, HIGH);
+
digitalWrite(pinNum, HIGH);
delay(10);
+
delay(10);
digitalWrite(pinNum, LOW);
+
digitalWrite(pinNum, LOW);
 +
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
Download the above example: [[File:File.zip]]
 +
</tab>
  
==Mixly==
+
<tab name="Mixly">
 +
Blocks
 +
</tab>
  
==Scratch==
+
<tab name="Scratch">
 +
More blocks
 +
</tab>
 +
</tabs>

Latest revision as of 20:25, 15 August 2017

About

Specifications

  • Important Components
    • MPU6050
    • BMP
  • Pinout
  • Compatible Pins
  • I2C Address

Downloads

  • CAD
  • Schematic
  • Chipset Datasheet
  • Other files

Usage

Key Functions

  • Required Libraries: None
  • Key Functions

Note: Important lines of code are highlighted

#include <iostream>
void function(int i){
int pinNum = 10;
	digitalWrite(pinNum, HIGH);
	delay(10);
	digitalWrite(pinNum, LOW);
}

Download the above example: File:File.zip

Blocks

More blocks