Prep for tr

This commit is contained in:
RogueM 2016-07-27 11:53:13 +01:00
parent dd80eceaa8
commit 2d039b59af
11 changed files with 351 additions and 33 deletions

7
src/tr/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

@ -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

@ -23,20 +23,28 @@ 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
- display-o-tron
- dots
- explorer-hat
- explorer-hat-pro
- piborg-ledborg
- pibrella
- piglow
- rtk-000-001
- skywriter-hat
- unicorn-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,69 @@
<!doctype html>
<html lang="{{langcode}}">
<head>
<title>{{title}}</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<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 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-2', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<ul class="main-nav">
<li><a href="http://www.raspi.gen.tr/">Raspberry Pi Türkiye</a></li>
<li><a href="http://forum.raspi.gen.tr/">Forumlar</a></li>
<li><a href="https://twitter.com/RPiTR"><i class="fa fa-twitter"></i> @RPiTR</a></li>
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://github.com/Ardakilic/Pinout2"><i class="fa fa-github"></i> Destekleyin</a></li>
{{lang_links}}
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="//tr.pinout.xyz"><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>Raspberry Pi Eklenti kartları ve özellikleri <i class="fa fa-arrow-right"></i></span>
<div class="drop-down">
<span>Seçiniz&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>Türkçeleştirme: <a href="http://arda.pw">Arda Kılıçdağı</a></p>
<p>Bir hata ile mi karşılaştınız, ya da kendi tasarladığınız kartın projeye eklenmesini mi istiyorsunuz? <a href="https://github.com/gadgetoid/Pinout2">Orijinal Repoya</a> veya <a href="https://github.com/Ardakilic/Pinout2">Türkçe Repoya uğrayarak</a> kodları inceleyebilir, fikir ve önerilerinizi sunabilir, geliştirmede katkıda bulunabilirsiniz.</p>
<p><a href="http://www.raspi.gen.tr">Siteye Geri Dön</a></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>

57
src/tr/template/layout.html Normal file → Executable file
View File

@ -1,13 +1,14 @@
<!doctype html>
<html lang="{{langcode}}">
<head>
<title>{{title}}</title>
<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">
<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>
@ -16,54 +17,54 @@
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-2', 'auto');
ga('create', 'UA-69846516-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<ul class="main-nav">
<li><a href="http://www.raspi.gen.tr/">Raspberry Pi Türkiye</a></li>
<li><a href="http://forum.raspi.gen.tr/">Forumlar</a></li>
<li><a href="https://twitter.com/RPiTR"><i class="fa fa-twitter"></i> @RPiTR</a></li>
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://github.com/Ardakilic/Pinout2"><i class="fa fa-github"></i> Destekleyin</a></li>
{{lang_links}}
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="//tr.pinout.xyz"><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>Raspberry Pi Eklenti kartları ve özellikleri <i class="fa fa-arrow-right"></i></span>
<div class="drop-down">
<span>Seçiniz&hellip;</span>
<ul class="overlay">
{{overlays}}
</ul>
</div>
</div>
<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 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>Türkçeleştirme: <a href="http://arda.pw">Arda Kılıçdağı</a></p>
<p>Bir hata ile mi karşılaştınız, ya da kendi tasarladığınız kartın projeye eklenmesini mi istiyorsunuz? <a href="https://github.com/gadgetoid/Pinout2">Orijinal Repoya</a> veya <a href="https://github.com/Ardakilic/Pinout2">Türkçe Repoya uğrayarak</a> kodları inceleyebilir, fikir ve önerilerinizi sunabilir, geliştirmede katkıda bulunabilirsiniz.</p>
<p><a href="http://www.raspi.gen.tr">Siteye Geri Dön</a></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>
<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}}prettify/lang-ruby.js'></script>
<script src='{{resource_url}}prettify/lang-bash.js'></script>
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
</body>
</html>