Hardware manual
BerryClip Module Datesheet
Product Feature
:
6 multicolor LED
1 single button on board
1 Beep on board
Port
:
BananaPi 2X13 port
Product Parameters
:
Working voltage: 3.3V
LED max current allow 8mA
Beep max current allow 12mA
Typical Application
:
Hardware beginner learning
Education
How to use
:
Insert the BerryClip in the Banana Pi, Pay attention don’t make the direction reversed!
The correct direction of insert module is above the Banana Pi’s PCB.
Testbench
:
Setup the GPIO OUTPUT, Output LED High level, the LED will be lighten
;
Setup the GPIO INPUT, press the button;
Test finish
Example and Test Code
:
#include <wiringPi.h>
#include <pcf8574.h>
int
LED1
[]={
7
,
0
,
3
,
12
,
13
,
14
};
int
i
;
int
initIO
()
{
pinMode
(
7
,
OUTPUT
);