Difference between revisions of "How to use Arduino"

From Banana Pi Wiki
Jump to: navigation, search
(Arduino IDE)
(Platform IO)
Line 56: Line 56:
  
 
* 2. [[Lighting the RGB LED]]
 
* 2. [[Lighting the RGB LED]]
 
===Platform IO===
 
 
 
 
[[File:Platformio_smaple.png|200px  Platform IO Sample page]]
 
 
*[[How to use with Platform IO]]
 

Revision as of 05:16, 20 February 2019

Arduino

Arduino IDE Programing Function Define
Function IO
RGB_LED IO4
RGB_LED_POWER IO2
BUZZER IO25
BOTTON_A IO35
BOTTON_B IO27
LIGHT_SENSOR1(upper left) IO36
LIGHT_SENSOR2(upper right) IO39
TEMPERTURE_SENSOR IO34
MPU9250_AD0 IO0
Communication Protocol
SPI
MISO IO19
MOSI IO23
SCK IO23
SS IO5
I2C
SCL IO22
SDA IO21

Arduino IDE

Arduino IDE sample page