diff --git a/src/es/translate/microdot-phat.md b/src/es/overlay/microdot-phat.md similarity index 96% rename from src/es/translate/microdot-phat.md rename to src/es/overlay/microdot-phat.md index 1043db5..0aec84f 100644 --- a/src/es/translate/microdot-phat.md +++ b/src/es/overlay/microdot-phat.md @@ -2,7 +2,7 @@ --- name: Micro Dot pHAT class: board -type: display, led +type: led formfactor: pHAT manufacturer: Pimoroni description: An LED matrix display board for the Raspberry Pi @@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat image: 'microdot-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/phat-dac.md b/src/es/overlay/phat-dac.md similarity index 85% rename from src/es/translate/phat-dac.md rename to src/es/overlay/phat-dac.md index d8bdcba..9495c21 100644 --- a/src/es/translate/phat-dac.md +++ b/src/es/overlay/phat-dac.md @@ -11,10 +11,16 @@ image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S @@ -32,8 +38,6 @@ pHAT DAC es un conversor de sonido digital a analógico de alta calidad para Ras Pese a ser diseñado para Raspberry Pi Zero es compatible con todas las Raspberry Pi de 40 pines (2/B+/A+/Zero) -Though designed to match the format of the Raspberry Pi Zero it is compatible with all 40-pin GPIO Raspberry Pi variants (2/B+/A+/Zero). - Para configurar pHAT DAC puedes utilizar el instalador online de una línea. ```bash diff --git a/src/es/translate/pi-liter.md b/src/es/overlay/pi-liter.md similarity index 79% rename from src/es/translate/pi-liter.md rename to src/es/overlay/pi-liter.md index 8e67382..8ee8548 100644 --- a/src/es/translate/pi-liter.md +++ b/src/es/overlay/pi-liter.md @@ -3,15 +3,22 @@ name: Pi-LITE-r class: board type: led -formfactor: Custom +formfactor: Otro manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: LED1 @@ -57,3 +64,18 @@ Aplicaciones: * Control de luz * Indicador de actividad * Efectos de luz + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` diff --git a/src/es/translate/piglow.md b/src/es/overlay/piglow.md similarity index 98% rename from src/es/translate/piglow.md rename to src/es/overlay/piglow.md index 0df44a4..b060dc4 100644 --- a/src/es/translate/piglow.md +++ b/src/es/overlay/piglow.md @@ -3,7 +3,7 @@ name: PiGlow class: board type: led -formfactor: Custom +formfactor: Otro manufacturer: Pimoroni description: Simply 18 LEDs in a spiral pattern controllable in Python url: http://shop.pimoroni.com/products/piglow diff --git a/src/es/translate/propeller-hat.md b/src/es/overlay/propeller-hat.md similarity index 94% rename from src/es/translate/propeller-hat.md rename to src/es/overlay/propeller-hat.md index 0767e1d..bd87652 100644 --- a/src/es/translate/propeller-hat.md +++ b/src/es/overlay/propeller-hat.md @@ -15,7 +15,13 @@ eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/es/settings.yaml b/src/es/settings.yaml index d79a8f6..88f63b5 100644 --- a/src/es/settings.yaml +++ b/src/es/settings.yaml @@ -68,10 +68,16 @@ overlays: - explorer-hat-pro - explorer-phat - iqaudio-pi-dac -- rpf-dots +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter - piano-hat - piborg-ledborg - pibrella +- piglow +- propeller-hat +- rpf-dots - rtk-000-001 - skywriter-hat - traffic-hat