Merge pull request #385 from victorhck/master

Translate 2 missing Hats files in spanish
This commit is contained in:
Philip Howard 2020-12-03 11:23:14 +00:00 committed by GitHub
commit 99b18c9145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 217 additions and 0 deletions

View File

@ -0,0 +1,98 @@
<!--
---
name: JamHat
class: board
type: multi
formfactor: HAT
manufacturer: ModMyPi
description: Una placa Jam amigable con 6 LEDs, 2 botones y un zumbador.
url: https://thepihut.com/products/jam-hat
github: https://github.com/modmypi/Jam-HAT
buy: https://thepihut.com/products/jam-hat
image: 'modmypi-jamhat.png'
pincount: 40
eeprom: no
power:
'1':
'2':
'4':
ground:
'6':
'9':
'14':
'20':
'25':
'30':
'34':
'39':
pin:
'29':
name: LED1
direction: output
active: high
'31':
name: LED2
direction: output
active: high
'32':
name: LED3
direction: output
active: high
'33':
name: LED4
direction: output
active: high
'36':
name: LED5
direction: output
active: high
'11':
name: LED6
direction: output
active: high
'12':
name: Button 2/Right Button
direction: input
active: high
'35':
name: Button 1/Left Button
direction: input
active: high
'38':
name: Buzzer
direction: output
active: high
-->
# Jam Hat
Una placa complementaria con LED, botón y zumbador para Raspberry Jams, Jam Makers y personas que están aprendiendo lo básico de GPIO.
La placa tiene 6 LEDs, 2 botone y un zumbador tonal que permiten un montón de experimentación hardware utilizando la biblioteca GPIO Zero library para una sencillez de uso.
```
from gpiozero import JamHat
from time import sleep
jh = JamHat()
# Enciende la plaza, espera y apágala.
jh.on()
sleep(1)
jh.off()
# Reproduce tones mediante el zumbador.
jh.buzzer.play('C4')
sleep(0.5)
jh.buzzer.play('D4')
sleep(0.5)
jh.buzzer.play('E4')
sleep(0.5)
jh.off()
# Utiliza los botones para encender las luces.
jh.button_1.when_pressed = jh.lights_1.on
jh.button_1.when_released = jh.lights_1.off
jh.button_2.when_pressed = jh.lights_2.on
jh.button_2.when_released = jh.lights_2.off
```
Las guías completas de inicio están disponibles en [El sitio web de ModMyPi](https://www.modmypi.com/blog/getting-started-with-the-jamhat)

119
src/es/overlay/rpi-spark.md Normal file
View File

@ -0,0 +1,119 @@
<!--
---
name: RPi-Spark
class: board
type: display, audio, multi, sensor, IO
formfactor: pHAT
manufacturer: mobiNRG
description: RPi-Spark pHAT y SDK te permite construir rápidamente proyectos para Raspberry Pi GPIO.
url: https://www.mobinrg.com
github: https://github.com/mobinrg/rpi_spark_foundations
buy: https://www.mobinrg.com/pages/products/rpi_spark
image: 'rpi-spark.png'
pincount: 40
eeprom: no
power:
'1':
'2':
ground:
'6':
'9':
'14':
'20':
'25':
'30':
'34':
'39':
pin:
'3':
mode: i2c
'5':
mode: i2c
'19':
name: DSP_MOSI
mode: spi
'21':
name: DSP_DC
mode: spi
'23':
name: DSP_CLK
mode: spi
'24':
name: DSP_CS
mode: spi
'22':
name: MOTION_INT
mode: input
'13':
name: JOY_R
mode: input
active: low
'18':
name: JOY_C
mode: input
active: low
'29':
name: JOY_U
mode: input
active: low
'31':
name: JOY_D
mode: input
active: low
'37':
name: JOY_L
mode: input
active: low
'15':
name: SW_A
mode: input
active: low
'16':
name: SW_B
mode: input
active: low
'33':
name: AUDIO_R/SPK
mode: output
'32':
name: AUDIO_L
mode: output
i2c:
'0x68':
name: accelerometer, gyroscope
device: RPISpark
-->
# RPi-Spark
RPi-Spark pHAT y SDK te permite construir rápida y fácilmente tus proyectos para Raspberry Pi GPIO.
Por ejemplo:: juegos, coches de control remoto, coches de equilibrio, podómetros deportivos, monitor de servidor y otros proyectos.
## Especificaciones
### Hardware
* 128x64 monocromo OLED
* Acelerómetro
* Giroscopio
* Temperatura
* Joystick de 5 movimientos
* Botones de 2 acciones
* Conector jack de 3.5mm para salida de cascos estéreo jack
* Altavoz de 1W
* GPIO extendido de 19 pines
### SDK
* Drives - Biblioteca de controlador de hardware de RPi-Spark - crea aplicaciones directamente o combínala con otras bibliotecas de código abierto
* Skeletons - Para un desarrollo rápido y sencillo
* Interfaz para la línea de comandos - Te permite utilizar tu lenguaje preferido: Bash Script, Node.js, Java, PHP, C/C++, Pascal, Basic, etc.
## Admite
* Raspberry Pi 2/3/3+/Zero/Zero W
## Requisitos
* Raspbian Linux
* Python 2.7 or Python 3.x