Modifications

Sauter à la navigation Sauter à la recherche
Ligne 174 : Ligne 174 :  
{{traduction}}
 
{{traduction}}
 
== A propos du MCP23017 ==
 
== A propos du MCP23017 ==
One problem with using a character LCD is that you give up a lot of GPIO pins to talk to the LCD. Four pins are used to send data, two pins are used for write and clock signals, and another pin or three are used for the backlight for a total of ~6-9 total pins! On a platform like the Raspberry Pi model A/B with only a dozen or so GPIO pins you can quickly run out of pins for other parts of your project. However with chips like the MCP23008 or {{pl|218|MCP23017}} you can easily add extra GPIO pins to your development board through an I2C interface!
+
Un problème d'utiliser un afficheur LCD est qu'il utilise beaucoup de GPIO pour dialoguer avec le LCD. 4 broches sont utilisées pour envoyer les données, 2 broches pour l'écriture et Four pins are used to send data, two pins are used for write and clock signals, and another pin or three are used for the backlight for a total of ~6-9 total pins! On a platform like the Raspberry Pi model A/B with only a dozen or so GPIO pins you can quickly run out of pins for other parts of your project. However with chips like the MCP23008 or {{pl|218|MCP23017}} you can easily add extra GPIO pins to your development board through an I2C interface!
    
If you aren't familiar with the MCP230xx series of chips, there's [[Rasp-Hack-MCP230XX|a great guide that describes their usage with a Raspberry Pi]]. Note that you don't need to install the library or code from the guide, it's only provided for reference.
 
If you aren't familiar with the MCP230xx series of chips, there's [[Rasp-Hack-MCP230XX|a great guide that describes their usage with a Raspberry Pi]]. Note that you don't need to install the library or code from the guide, it's only provided for reference.
29 837

modifications

Menu de navigation