2015-04-18 23:39:08 +08:00
<!--
---
2016-07-27 22:35:53 +08:00
name: LEDBorg
2016-07-27 19:17:56 +08:00
class: board
type: hepsi
2016-07-27 20:07:05 +08:00
formfactor: diğer
manufacturer: PiBorg
2015-04-18 23:39:08 +08:00
description: Raspberry Pi RGB ledlerine sahip bir kart
2016-07-27 22:35:53 +08:00
url: https://www.piborg.org/ledborg-new/install
2015-04-18 23:39:08 +08:00
buy: https://www.piborg.org/ledborg
2016-07-27 22:35:53 +08:00
image: 'piborg-led-borg.png'
2015-12-29 23:34:00 +08:00
pincount: 26
2016-07-27 22:35:53 +08:00
eeprom: no
2015-04-18 23:39:08 +08:00
pin:
'11':
name: Red LED
direction: output
active: high
description: PiBorg Red LED
'13':
name: Green LED
direction: input
active: high
description: PiBorg Green LED
'15':
name: Blue LED
direction: output
active: high
description: PiBorg Blue LED
-->
2015-03-31 22:34:27 +08:00
###PiBorg LedBorg RGB LED Board
[PiBorg LedBorg ](http://www.piborg.org/ledborg/ ), Raspberry Pi için oldukça hafif bir RGB LED board'udur. Bu board kendisine ait bir sürücü barı ndı rı r, bu yüzden ayrı ca bir sürücü kurmanı za gerek yok.
Eğer daha fazla aralı kta renk istiyorsanı z bunu WiringPi ile softPwm ile de yapabilirsiniz. Pin atamaları şu şekilde:
WiringPi pin 0: Kı rmı zı LED
WiringPi pin 2: Yeşil LED
WiringPi pin 3: Mavi LED
Python ile bunu yapmak neredeyse çocuk oyuncağı :
```python
import wiringpi2 as wiringpi
wiringpi.wiringPiSetup()
wiringpi.softPwmCreate(0,0,100)
wiringpi.softPwmCreate(2,0,100)
wiringpi.softPwmCreate(3,0,100)
# mor!
wiringpi.softPwmWrite(3,100) # Full Blue
wiringpi.softPwmWrite(0,100) # Full Red
wiringpi.softPWMWrite(2,0) # No Green
```