How to use Arduino: Difference between revisions

From Banana Pi Wiki
Jump to navigation Jump to search
legacy>Hulkwang
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 12: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