Added more pin content

This commit is contained in:
Phil Howard 2015-03-25 00:29:41 +00:00
parent 246c77d15d
commit f88fce393f
7 changed files with 41 additions and 22 deletions

View File

@ -10,7 +10,7 @@ This GPIO Pinout isn't meant to be printable, but it's both a great quick-refere
* WiringPi - Wiring Pi pin number, for Gordon's Wiring Pi library
* Physical - Number corresponding to the pins physical location on the header
##Pi 2+
##Pi 2
To celebrate the launch of the Pi 2 and the new Pi-enthusiasts it'll bring, Pinout has been updated to be cleaner, more comprehensive and more accurate and will continue to be improved.

View File

@ -0,0 +1,5 @@
This pin doubles up as the UART recieve pin, RXD. It's also commonly known as "Serial". By default your Pi will receive serial commands over this Pi and pass them into a Console, which gives you command-line control over your Pi using a Serial cable.
The UART pins, with an appropriate cable, are extremely useful for setting up a "headless" ( a Pi without a screen ) Pi and getting it connected to a network.
[Learn more about UART](/pinout/uart)

View File

@ -0,0 +1 @@
The PWM0 output of BCM 18 is particularly useful, in combination with some fast, direct memory access trickery, for driving tricky devices with very specific timings. The WS2812 LEDs on the [Unicorn HAT](/pinout/unicorn_hat) are a good example of this in action.

View File

@ -1,3 +1,5 @@
SDA is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
It's easy to get started writing a digital HIGH or LOW to a GPIO pin, but you've got to remember a few things:
* Run your script as root

View File

@ -1,3 +1,5 @@
SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
```python
require 'wiringpi2'
HIGH = 1

View File

@ -0,0 +1,5 @@
This pin doubles up as the UART transmit pin, thus the name TXD. It's also commonly known as "Serial" and, by default, will output a Console from your Pi that, with a suitable Serial cable, you can use to control your Pi via the command-line.
UART is also extremely useful if you want to talk to Arduino or Propeller boards from your Pi, but you must make sure you disable the Serial Console in raspi-config first.
[Learn more about UART](/pinout/uart)

View File

@ -21,27 +21,31 @@
</head>
<body>
<div id="container">
<ul class="main-nav">
<li><a href="http://pi.gadgetoid.com/">Pi Blog</a></li>
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribute</a></li>
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/pinout"><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>Learn about Pi add-ons and pin functions <i class="fa fa-arrow-right"></i></span>
<select class="overlay">
<option value="">&hellip;</option>
{{overlays}}
</select>
</div>
<nav id="gpio">
<div id="pinbase"></div>
<div id="pinbasebplus"></div>
{{nav}}
</nav>
<div id="content">
<div id="pages">
{{content}}
<ul class="main-nav">
<li><a href="http://pi.gadgetoid.com/">Pi Blog</a></li>
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribute</a></li>
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/pinout"><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>Learn about Pi add-ons and pin functions <i class="fa fa-arrow-right"></i></span>
<select class="overlay">
<option value="">&hellip;</option>
{{overlays}}
</select>
</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>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>
</div>
</div>