Ligne 16 : |
Ligne 16 : |
| | | |
| == SPI Support == | | == SPI Support == |
− | SPI support is on the CLK/MOSI/MISO/CS0/CS1 pins. To test, connect your logic analyser/scope to the pins and run '''echo "testtext" > /dev/spidev0.0''' to send some dummy data to the SPI port. You can simply read/write the /dev/spidev files to read/write from SPI | + | Le support SPI est assuré par les broches CLK/MOSI/MISO/CS0/CS1. Pour le tester, conenctez un analyseur logique (ou oscilloscope) sur ces broches et exécutez la commande '''echo "testtext" > /dev/spidev0.0''' pour envoyer des données de test sur le port SPI. |
| | | |
− | ***GRAS***
| + | Vous pouvez simplement accéder aux port SPI en lisant/écrivant des données dans les fichiers de /dev/spidev |
− | [http://learn.adafruit.com/light-painting-with-raspberry-pi Our Light Painting tutorial] uses the hardware SPI system to write to digital LED strip, ***LINK MCP3008*** we also have a 'bitbanging' software SPI tutorial here if you need such a thing | + | |
− | ***GRAS***
| + | [http://learn.adafruit.com/light-painting-with-raspberry-pi le tutoriel "Light Painting" d'AdaFruit] utilise du matériel et l'interface SPI pour contrôler les Strip Led digital. Le tutoriel sur le [[Rasp-Hack-PiAnalog|MCP3008]] utilisant une implémentation SPI pour vous aider à réaliser vos projets. |
| | | |
| == One Wire Support == | | == One Wire Support == |