Specifications
Place of Origin :
china
Brand Name :
banana pi
Model Number :
berryclip 6led add-on DIY board
Certification :
ce,fcc,rosh
Description

berryclip 6led add-on DIY board

  • Brand:banana pi Accessories
  • Model:berryclip 6led add-on DIY board,can use on raspberry pi board
  • Price:
  • contact with: cherryjiang at banana-pi.com
  • skype: sinovoip-02
  • www.banana-pi.com

Introduction:

Banana pi berryclip 6led add-on DIY board

Specifications:

Banana Pi BerryClip 6 LED Module Python Learning Add-on Board

Banana Pi BerryClip 6 LED Module Python Learning Add-on Board

Product Overview:

The module is designed specifically for learning control the GPIO of Banana Pi. There are 6 LED, 1 button and 1 Beep on the module; All of them can use the GPIO of Banana Pi to control. The beginner can learn the INPUT mode of GPIO through the key and learn the OUTPUT mode through the LED or Beep

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

#include

int LED1[]={7,0,3,12,13,14};

int i;

int initIO()

{

pinMode(7,OUTPUT);

pinMode(0,OUTPUT);

pinMode(3,OUTPUT);

pinMode(12,OUTPUT);

pinMode(13,OUTPUT);

pinMode(14},OUTPUT);

}

int LED()

{

for(i=0;i<=6;i++)

{

digitalWrite(LED1[i],1);

delay(500);

digitalWrite(LED1[i],0);

delay(500);

}

}

int main()

{

int val;

wiringPiSetup();

pcf8574Setup(200,0x27);

initIO();

pinMode(10,INPUT);

digitalWrite(11,1);

while(1)

{

blink();

val=digitalRead(10);

if(val==0)

{

LED();

digitalWrite(11,1);

i=0;

}

else

blink();

}

}

Send your message to this supplier
Send Now

Banana pi berryclip 6led add-on DIY board

Ask Latest Price
Place of Origin :
china
Brand Name :
banana pi
Model Number :
berryclip 6led add-on DIY board
Certification :
ce,fcc,rosh
Contact Supplier
Banana pi berryclip 6led add-on DIY board
Banana pi berryclip 6led add-on DIY board
Banana pi berryclip 6led add-on DIY board
Banana pi berryclip 6led add-on DIY board

Shenzhen Sino Voip Co,Ltd

Active Member
12 Years
Guangdong, Shenzhen
Since 2004
Business Type :
Manufacturer,Exporter,Seller
Total Annual :
$5,000,000-$10,000,000
Employee Number :
50-100
Certification Level :
Active Member
Contact Supplier
Submit Requirement