| Electronic Components Datasheet Search |
|
DFR0413 Datasheet(PDF) 7 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0413 Datasheet(HTML) 7 Page - DFROBOT |
|
7 / 8 page ![]() OLED Driver Connecting the OLED to the Raspberry Pi Because connect the OLED to the Pi's GPIO headers as shown: Product Size Activate SPI Pins The Pi's default SPI and I2C pins are disabled, you must activate them before use. Use a terminal on the Pi connected to another display, or SHH in to the Pi from another PC and run the following command: sudo nano /etc/modprobe.d/raspi-blacklist.conf Find the line "blacklist spi-bcm2708" and place a # before it to comment it out. This will enable the SPI interface on the Pi. If you want you can also find the line "blacklist i2c-bcm2708" and place a # before it to comment it out. This will enable the i2c interface on the Pi. Type ctrl+x and then y to save changes to the configuration file. Reboot your Pi by typing "sudo reboot" in to the command line. When the Pi has rebooted the SPI GPIO pins will be activated. You should see two files in the /dev directory: spidev0.0 spidev0.1 spidev0.0 corresponds to SPI pin 0 spidev0.1 corresponds to SPI pin 1 Use C to Drive the LCD via SPI |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |