Skip to content

Connecting to qwiic device requires reading from device with smbus2 #8

@nicholsn

Description

@nicholsn

I'm using the qwiic alphanumeric library to connect to this display from a jetson nano using pHAT and running into an issue where the device doesn't get detected. For example, no device is detected when I run

import qwiic_alphanumeric
my_display = qwiic_alphanumeric.QwiicAlphanumeric()
mydisplay.begin()

However, if I run the following then the devices gets detected and works as expected.

import qwiic_alphanumeric
import smbus2

bus = smbus2.SMBus(1)
bus.read_byte(0x70)

my_display = qwiic_alphanumeric.QwiicAlphanumeric()
my_display.begin()
my_display.print("hi")

I'm new to the qwiic ecosystem and I'd greatly appreciate if someone has insight about why I would need to bus.read_byte(0x70) off the device so it can initialize.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions