Prep for es

This commit is contained in:
RogueM 2016-07-27 11:36:47 +01:00
parent ddc4fccec9
commit e0e842e0f1
13 changed files with 343 additions and 82 deletions

7
src/es/404.md Normal file
View File

@ -0,0 +1,7 @@
#404 - Oh dear!
###Sorry, we couldn't find what you are looking for!
Use the menu on the left to explore the pins and functions of the Raspberry Pi GPIO.
Use the menu above to discover new boards, learn about interfaces and find GPIO connection guides.

View File

@ -1,41 +0,0 @@
#Pinout Overlays
A Pinout overlay describes the functions of the Raspberry Pi pins for a specific board.
An overlay is constructed from a JSON file and, optionally, a markdown file containing an extended long-description.
##JSON Format
The JSON overlay file must include a name, manufacturer name, URL, description and a "pin" array defining all the
pins that the board uses.
If a counterpart .md file is present in description/overlay it will be used for the long description.
The pin array must list each pin by its *physical* location, and include at least a "name" describing the function
of that pin.
Optionally each pin definition can include a "mode" flag, which defines the pin as an "input" or an "output".
A pin can also have an "active" value, which defines it as "high" or active "low".
I2C and SPI pins should be included if your board uses them, however they will generally be intepreted as being
shared and usable with muliple boards unless you explicitly define them as being an "input" or "output".
Example:
```json
{
"name": "Explorer HAT",
"manufacturer": "Pimoroni",
"url": "https://github.com/pimoroni/pibrella",
"description": "An all-in-one light, input and output add-on board.",
"pin": {
"7": {
"name": "Green LED"
},
"11": {
"name": "Yellow LED"
}
}
}
```

View File

@ -0,0 +1,58 @@
<!--
---
name: DPI
class: interface
type: pinout
description: Raspberry Pi DPI pins
url: https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/
pin:
'bcm0':
name: CLK
'bcm1':
name: DEN
'bcm2':
name: V-SYNC
'bcm3':
name: H-SYNC
'bcm4':
name: Blue 2
'bcm5':
name: Blue 3
'bcm6':
name: Blue 4
'bcm7':
name: Blue 5
'bcm8':
name: Blue 6
'bcm9':
name: Blue 7
'bcm10':
name: Green 2
'bcm11':
name: Green 3
'bcm12':
name: Green 4
'bcm13':
name: Green 5
'bcm14':
name: Green 6
'bcm15':
name: Green 7
'bcm16':
name: Red 2
'bcm17':
name: Red 3
'bcm18':
name: Red 4
'bcm19':
name: Red 5
'bcm20':
name: Red 6
'bcm21':
name: Red 7
-->
#DPI - Display Parallel Interface
DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. The Pi uses a cut-down, 6-bit, 22 pin version omitting the least significant R, G and B colour bits.
DPI, combined with a simple adaptor consisting of 20 resistors, allows you to add a VGA connector to the Pi which supports resolutions from 640 x 480 up to 1920 x 1024 at 60fps and 6bits per channel.

View File

@ -0,0 +1,31 @@
<!--
---
name: GPCLK
class: interface
type: pinout
description: Raspberry Pi General Purpose Clock
pin:
'bcm4':
name: GPCLK0
'bcm5':
name: GPCLK1
'bcm6':
name: GPCLK2
-->
#GPCLK - General Purpose CLock
General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control.
The following clock sources are available:
```
0 0 Hz Ground
1 19.2 MHz oscillator
2 0 Hz testdebug0
3 0 Hz testdebug1
4 0 Hz PLLA
5 1000 MHz PLLC (changes with overclock settings)
6 500 MHz PLLD
7 216 MHz HDMI auxiliary
8-15 0 Hz Ground
```

View File

@ -0,0 +1,33 @@
<!--
---
name: JTAG
class: interface
type: pinout
description: Raspberry Pi JTAG pins
pin:
'bcm4':
name: TDI (Alt5)
'bcm5':
name: TDO (Alt5)
'bcm6':
name: RTCK (Alt5)
'bcm12':
name: TMS (Alt5)
'bcm13':
name: TCK (Alt5)
'bcm22':
name: TRST (Alt4)
'bcm23':
name: RTCK (Alt4)
'bcm24':
name: TDO (Alt4)
'bcm25':
name: TCK (Alt4)
'bcm26':
name: TDI (Alt4)
'bcm27':
name: TMS (Alt4)
-->
#JTAG - Joint Test Action Group
JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi.

View File

@ -0,0 +1,19 @@
<!--
---
name: PCM
class: interface
type: pinout
description: Raspberry Pi PCM pins
pin:
'bcm18':
name: CLK
'bcm19':
name: FS
'bcm20':
name: DIN
'bcm21':
name: DOUT
-->
#PCM - Pulse-code Modulation
PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound.

View File

@ -0,0 +1,25 @@
<!--
---
name: SDIO
class: interface
type: pinout
description: Raspberry Pi SD0/SD1 pins
pin:
'bcm22':
name: CLK
'bcm23':
name: CMD
'bcm24':
name: DAT0
'bcm25':
name: DAT1
'bcm26':
name: DAT2
'bcm27':
name: DAT3
-->
#SD - SD Card Interface
SD is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot.
These pins are "SD host" on Alt0 and "eMMC" on Alt3.

View File

@ -1,16 +0,0 @@
<!--
---
name: PiGlow
manufacturer: Pimoroni
url: https://github.com/pimoroni/piglow
github: https://github.com/pimoroni/piglow
buy: http://shop.pimoroni.com/products/piglow
description: Simplemente 18 LEDs colocados en un diseño espiral controlables en Python.
pincount: 26
pin:
'3':
mode: i2c
'5':
mode: i2c
-->
#PiGlow

View File

@ -24,13 +24,22 @@ strings:
- more_information: 'More Information'
- github_repository: 'GitHub Repository'
- buy_now: 'Buy Now'
overlays:
- ground
- uart
featured:
- i2c
- spi
- arduino-spi
- uart
- wiringpi
overlays:
- ground
- i2c
- spi
- uart
- wiringpi
- iface-dpi
- iface-gpclk
- iface-jtag
- iface-pcm
- iface-sd
- iqaudio-pi-dac
- display-o-tron
- display-o-tron-hat
@ -40,7 +49,6 @@ overlays:
- piano-hat
- piborg-ledborg
- pibrella
- piglow
- rtk-000-001
- sense-hat
- skywriter-hat

View File

@ -0,0 +1,67 @@
<!doctype html>
<html lang="{{langcode}}">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>{{title}}</title>
<meta name="description" content="{{description}}" />
<link href='//fonts.googleapis.com/css?family=Ubuntu+Mono' rel='stylesheet' type='text/css' />
<link href='{{resource_url}}prettify/prettify.css' rel='stylesheet' />
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
<link href="{{resource_url}}print.css?v={{v}}" rel="stylesheet" media="print">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
{{hreflang}}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69846516-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="boards-page">
<div id="container">
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" style="top:8px;" /><span>Raspberry Pi</span>n<span class="out">out</span></a></h1>
<div id="leftcolumn">
<nav id="gpio">
<div class="facets"></div>
<div id="interfaces">
<h4>Interfaces</h4>
<ul>
{{nav_html_interface}}
</ul>
</div>
</nav>
</div>
<div id="content">
<div id="pages">
<article><h1>Raspberry Pi HATs, pHATs &amp; Add-ons</h1>
<h3>Click on a HAT, pHAT or add-on for more details and to see which pins it uses!</h3>
</article>
<div id="boards"><ul>{{content}}</ul></div>
</div>
<div id="lang">
<ul class="lang-nav">
{{lang_links}}
</ul>
</div>
</div>
<div class="footer" style="clear: both;padding: 20px 0px;text-align:center;">
<p>Spotted an error, want to add your board's pinout? <a href="https://github.com/gadgetoid/Pinout2">Head on over to our GitHub repository</a> and submit an Issue or a Pull Request!</p>
<p>Originally part of <a href="http://pi.gadgetoid.com">pi.gadgetoid.com</a></p>
<p>Maintained by <a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a> and <a href="https://twitter.com/roguehal13"><i class="fa fa-twitter"></i> @RogueHAL13</a></p>
</ul>
</div>
</div>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/prettify/0.1/prettify.js"></script>
<script src='{{resource_url}}prettify/lang-ruby.js'></script>
<script src='{{resource_url}}prettify/lang-bash.js'></script>
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
<script src='{{resource_url}}boards.js?v={{v}}'></script>
</body>
</html>

View File

@ -0,0 +1,66 @@
<!doctype html>
<html lang="{{langcode}}">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>{{title}}</title>
<meta name="description" content="{{description}}" />
<link href='//fonts.googleapis.com/css?family=Sanchez|Ubuntu+Mono' rel='stylesheet' type='text/css' />
<link href='{{resource_url}}prettify/prettify.css' rel='stylesheet' />
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
<link href="{{resource_url}}print.css?v={{v}}" rel="stylesheet" media="print">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
{{hreflang}}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69846516-5', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<ul class="main-nav">
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://twitter.com/nixijav"><i class="fa fa-twitter"></i> @nixijav</a></li>
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribuye</a></li>
{{lang_links}}
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" style="top:8px;" /><span>Raspberry Pi</span>n<span class="out">out</span></a></h1>
<div class="overlay-container">
<span>Aprende los pines de la Pi y sus add-ons <i class="fa fa-arrow-right"></i></span>
<div class="drop-down">
<span>Elige&hellip;</span>
<ul class="overlay">
{{overlays}}
</ul>
</div>
</div>
<nav id="gpio">
<div id="pinbase"></div>
<div id="pinbasebplus"></div>
{{nav}}
</nav>
<div id="content">
<div id="pages">
{{content}}
</div>
</div>
<div class="footer" style="clear: both;padding: 20px 0px;text-align:center;">
<p>Gracias a <a href="https://twitter.com/roguehal13">@RogueHAL13</a>, <a href="https://twitter.com/ardadev">@ardadev</a>, <a href="https://twitter.com/nixijav">@nixijav</a></p>
<p>¿Has encontrado un error o quieres añadir tu propia placa? <a href="https://github.com/gadgetoid/Pinout2">Ven a nuestro repositorio de GitHub</a> y envía un Issue o un Pull Request!</p>
</div>
</div>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/prettify/0.1/prettify.js"></script>
<script src='{{resource_url}}prettify/lang-ruby.js'></script>
<script src='{{resource_url}}prettify/lang-bash.js'></script>
<script src='{{resource_url}}gaat.js'></script>
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
</body>
</html>

44
src/es/template/layout.html Normal file → Executable file
View File

@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>{{title}}</title>
<meta name="description" content="{{description}}" />
<link href='//fonts.googleapis.com/css?family=Sanchez|Ubuntu+Mono' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Ubuntu+Mono' rel='stylesheet' type='text/css' />
<link href='{{resource_url}}prettify/prettify.css' rel='stylesheet' />
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
@ -17,42 +17,47 @@
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69846516-5', 'auto');
ga('create', 'UA-69846516-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<ul class="main-nav">
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://twitter.com/nixijav"><i class="fa fa-twitter"></i> @nixijav</a></li>
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribuye</a></li>
{{lang_links}}
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" style="top:8px;" /><span>Raspberry Pi</span>n<span class="out">out</span></a></h1>
<div class="overlay-container">
<span>Aprende los pines de la Pi y sus add-ons <i class="fa fa-arrow-right"></i></span>
<div class="drop-down">
<span>Elige&hellip;</span>
<ul class="overlay">
{{overlays}}
</ul>
</div>
</div>
<div id="leftcolumn">
<nav id="gpio">
<div id="pinbase"></div>
<div id="pinbasebplus"></div>
{{nav}}
</nav>
</div>
<div id="content">
<div id="featured">
<ul>
{{featured_boards}}
</ul>
<a class="more" href="/boards">See more HATs, pHATs and add-ons</a>
</div>
<div id="interfaces">
<ul>
{{nav_html_interface}}
</ul>
</div>
<div id="pages">
{{content}}
</div>
<div id="lang">
<ul class="lang-nav">
{{lang_links}}
</ul>
</div>
</div>
<div class="footer" style="clear: both;padding: 20px 0px;text-align:center;">
<p>Gracias a <a href="https://twitter.com/roguehal13">@RogueHAL13</a>, <a href="https://twitter.com/ardadev">@ardadev</a>, <a href="https://twitter.com/nixijav">@nixijav</a></p>
<p>¿Has encontrado un error o quieres añadir tu propia placa? <a href="https://github.com/gadgetoid/Pinout2">Ven a nuestro repositorio de GitHub</a> y envía un Issue o un Pull Request!</p>
<p>Spotted an error, want to add your board's pinout? <a href="https://github.com/gadgetoid/Pinout2">Head on over to our GitHub repository</a> and submit an Issue or a Pull Request!</p>
<p>Originally part of <a href="http://pi.gadgetoid.com">pi.gadgetoid.com</a></p>
<p>Maintained by <a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a> and <a href="https://twitter.com/roguehal13"><i class="fa fa-twitter"></i> @RogueHAL13</a></p>
</ul>
</div>
</div>
@ -60,7 +65,6 @@
<script type="text/javascript" src="//cdn.jsdelivr.net/prettify/0.1/prettify.js"></script>
<script src='{{resource_url}}prettify/lang-ruby.js'></script>
<script src='{{resource_url}}prettify/lang-bash.js'></script>
<script src='{{resource_url}}gaat.js'></script>
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
</body>
</html>