diff --git a/README.md b/README.md index 063810f..1e24416 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Creative Commons License -Pinout.xyz is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout +[Pinout.xyz](http://pinout.xyz/) is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout To support translation efforts, and allow people to build tools with the data in this repository, Pinout.xyz is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. @@ -12,11 +12,11 @@ This license excludes the file pinout-graphic-horizontal.ai, which is provided u This project aims to build a consistent workflow behind the Pinout.xyz front-end, gather useful information about the Raspberry Pi GPIO interface and add-on boards, and invite board manufacturers to produce their own "overlay" files which describe which pins their Pi add-ons use. -We hope that by making this project open and extensible I will invite not only contributions of board pinouts, but translations too. +We hope that by making this project open and extensible we will invite not only contributions of board pinouts, but translations too. #Contributing -If you have a board you'd like to contribute, raise an issue and we'll consider it! +If you have a board you'd like to contribute, raise an [issue](https://github.com/Gadgetoid/Pinout.xyz/issues) and we'll consider it! If you've spotted an error, ommission or have a suggestion then you're welcome to do the same. @@ -24,21 +24,21 @@ If you've spotted an error, ommission or have a suggestion then you're welcome t The contents of this GitHub repository are used to build http://pinout.xyz and its translated subdomains. -Maintainers: @gadgetoid and @RogueM +Maintainers: [@Gadgetoid](https://github.com/Gadgetoid) and [@RogueM](https://github.com/RogueM) -GPUI code examples by: @bennuttall +GPIO Zero code examples by: [@bennuttall](https://github.com/bennuttall) Notable contributions: -* en - @lurch and @abelectronicsuk -* de - @rdmueller and @KojoePi -* es - @ResonantWave and @IkerGarcia -* fr - @RogueM -* it - @LizardM4 -* pt - @Maslor -* tr - @Ardakilic +* [en](http://pinout.xyz/) - [@lurch](https://github.com/lurch) and [@abelectronicsuk](https://github.com/abelectronicsuk) +* [de](http://de.pinout.xyz/) - [@rdmueller](https://github.com/rdmueller) and [@KojoePi](https://github.com/KojoePi) +* [es](http://es.pinout.xyz/) - [@ResonantWave](https://github.com/ResonantWave) and [@IkerGarcia](https://github.com/IkerGarcia) +* [fr](http://fr.pinout.xyz/) - [@RogueM](https://github.com/RogueM) +* [it](http://it.pinout.xyz/) - [@LizardM4](https://github.com/LizardM4) +* [pt](http://pt.pinout.xyz/) - [@Maslor](https://github.com/Maslor) +* [tr](http://tr.pinout.xyz/) - [@Ardakilic](https://github.com/Ardakilic) -If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate culture. For example if you want to create a German translation you would create the folder `src/de`. +If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate language-code. For example, if you want to create a German translation you would create the folder `src/de`. There are no plans to support cultures (it would just get out of hand!), so you can't have `src/fr-CA` ( sorry! ). @@ -52,13 +52,13 @@ And then open: http://127.0.0.1:5000 in your browser. Please do not attempt to translate the `/resources` folder, this is shared between sites on the server and should be generic. -Feel free to modify the template with links relevent to your country, and your Twitter handle but don't fiddle with the structure! +Feel free to modify the template with links relevant to your country, and / or your Twitter handle, but don't fiddle with the structure! -Submit your finished translation as a pull request and we'll get it live on its own pinout.xyz subdomain :) +Submit your finished translation as a [pull request](https://github.com/Gadgetoid/Pinout.xyz/pulls) and we'll get it live on its own *<languagecode>*.pinout.xyz subdomain :) -#Roadmap & wishlist +#Roadmap & wishlist * Redesign HTML generation and unify HTML templates into a single, translatable file * Add functionality to compare two or more boards, to visualise pin compatibility * Tool to convert WiringPi to GPIO to BCM and back -* Add as many boards as possible! +* Add as many [boards](http://pinout.xyz/boards) as possible! diff --git a/draft/overlay/4tronix-pistep2d.md b/draft/overlay/4tronix-pistep2d.md new file mode 100644 index 0000000..e5d1d27 --- /dev/null +++ b/draft/overlay/4tronix-pistep2d.md @@ -0,0 +1,53 @@ + +# PiStep2 Dual +Drive 2 uni-polar stepper motors using a single control board. +Uses a ULN2803 Darlington driver chip to drive the motors. +Ideal for use with 28BYJ48 stepper motors +Supported in Scratch GPIO as well as in Python + diff --git a/draft/overlay/4tronix-pistep2q.md b/draft/overlay/4tronix-pistep2q.md new file mode 100644 index 0000000..a737e0f --- /dev/null +++ b/draft/overlay/4tronix-pistep2q.md @@ -0,0 +1,77 @@ + +# PiStep2 Quad +Drive 4 uni-polar stepper motors using a single control board. +Uses ULN2803 Darlington driver chips to drive the motors. +Ideal for use with 28BYJ48 stepper motors +Supported in Scratch GPIO as well as in Python + diff --git a/draft/overlay/picon-zero.md b/draft/overlay/picon-zero.md deleted file mode 100644 index d1bd0b7..0000000 --- a/draft/overlay/picon-zero.md +++ /dev/null @@ -1,39 +0,0 @@ - -#Picon Zero - -TBA \ No newline at end of file diff --git a/draft/boards/picon-zero.png b/resources/boards/4tronix-picon-zero.png similarity index 100% rename from draft/boards/picon-zero.png rename to resources/boards/4tronix-picon-zero.png diff --git a/src/en/overlay/4tronix-picon-zero.md b/src/en/overlay/4tronix-picon-zero.md new file mode 100644 index 0000000..470b14b --- /dev/null +++ b/src/en/overlay/4tronix-picon-zero.md @@ -0,0 +1,40 @@ + +#Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/en/overlay/piborg-ledborg.md b/src/en/overlay/piborg-ledborg.md index d5e382f..95b2cc5 100644 --- a/src/en/overlay/piborg-ledborg.md +++ b/src/en/overlay/piborg-ledborg.md @@ -50,15 +50,15 @@ lb = LedBorg() while True: r, g, b = 0, 0, 0 for i in range(100): - r = i / 100 + r = i / 100.0 lb.value = (r, g, b) sleep(0.01) for i in range(100): - g = i / 100 + g = i / 100.0 sleep(0.01) lb.value = (r, g, b) for i in range(100): - b = i / 100 + b = i / 100.0 lb.value = (r, g, b) sleep(0.01) ``` diff --git a/src/en/settings.yaml b/src/en/settings.yaml index d6b5ede..be23929 100644 --- a/src/en/settings.yaml +++ b/src/en/settings.yaml @@ -32,7 +32,7 @@ strings: featured: - pijack - ab-servo-pwm-pi-zero -- microdot-phat +- 4tronix-picon-zero - wifi-pants overlays: - ground @@ -46,6 +46,7 @@ overlays: - spi - uart - wiringpi +- 4tronix-picon-zero - ab-1-wire-plus - ab-1-wire-zero - ab-adc-differential-pi