PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
345 stars 88 forks source link

Error Trying To Run First Test #224

Closed nateProjects closed 2 years ago

nateProjects commented 2 years ago

Hiya, This seemed to install fine, but I've had no luck getting it to run:

$ papirus-test
Traceback (most recent call last):
  File "/usr/local/bin/papirus-test", line 69, in <module>
    papirus = Papirus()
  File "/usr/local/lib/python3.9/dist-packages/papirus/epd.py", line 65, in __init__
    self._lm75b = LM75B()
  File "/usr/local/lib/python3.9/dist-packages/papirus/lm75b.py", line 24, in __init__
    self._bus.write_byte_data(self._address, LM75B_CONF_REGISTER, LM75B_CONF_NORMAL)
OSError: [Errno 121] Remote I/O error

Raspberry Pi Zero W 2 / Raspbian 11 (bullseye) / PapiRus Zero v1.2 2.0"

tvoverbeek commented 2 years ago

That is an i2c error for the LM75B temperature sensor. Is I2C enabled? Check if /dev/i2c-1 exists (ls -l /dev/i2c-1).

nateProjects commented 2 years ago

It turned out to be a fault Pi Zero - swapped it out with another one and it worked!

Thanks

tvoverbeek commented 2 years ago

OK. Closing the issue