Hi, this is my first question on this forum. I'm more on the Arduino/ESP side but I'm now trying the Beaglebone Black.
For my first test, I'd like to use my Nokia 5110 display. I have found the dedicated adafruit library https://github.com/adafruit/Adafruit_Ci ... on_PCD8544 but I didn't find the connexions.
My display has: RST, CE, DC, DIN, CLK, VCC, BL and GND. To which GPIOs should I connect all these?
Thank you for your help.
BB Black and Nokia 5110
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- lesept
- Posts: 2
- Joined: Thu Dec 01, 2022 3:37 pm
Re: BB Black and Nokia 5110
To be more specific, the examples says:
What are the D5, D6, D9 and D10 on the BBB?
Code: Select all
# Initialize SPI bus and control pins
spi = busio.SPI(board.SCK, MOSI=board.MOSI)
dc = digitalio.DigitalInOut(board.D6) # data/command
cs = digitalio.DigitalInOut(board.D5) # Chip select
reset = digitalio.DigitalInOut(board.D9) # reset
display = adafruit_pcd8544.PCD8544(spi, dc, cs, reset)
# Turn on the Backlight LED
backlight = digitalio.DigitalInOut(board.D10) # backlight
Please be positive and constructive with your questions and comments.