Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The interpol. often crash in Ras..... Pi 4 #1

Open
jlivingstonsg opened this issue Jun 9, 2022 · 1 comment
Open

The interpol. often crash in Ras..... Pi 4 #1

jlivingstonsg opened this issue Jun 9, 2022 · 1 comment

Comments

@jlivingstonsg
Copy link

jlivingstonsg commented Jun 9, 2022

Hi.
The interpol crash often.
We use Raspberry pi 4.

Here is the warning we get in Thonny Python IDE .

/home/pi/Hämtningar/AMG8833_IR_cam-main/examples/IR_cam_interp.py:68: MatplotlibDeprecationWarning:
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later.

Use .FigureManagerBase.set_window_title or GUI-specific methods instead.
fig.canvas.set_window_title('AMG8833 Image Interpolation')
Traceback (most recent call last):
File "/home/pi/Hämtningar/AMG8833_IR_cam-main/examples/IR_cam_interp.py", line 83, in
status,pixels = sensor.read_temp(pix_to_read) # read pixels with status
File "../amg8833_i2c.py", line 125, in read_temp
raw = self.device.read16(GE_PIXEL_BASE + (i << 1))
File "../amg8833_i2c.py", line 92, in read16
result = self._bus.read_word_data(self._address,register) & 0xFFFF
OSError: [Errno 5] In/ut-fel


Any solution?

Regards from Sweden

@jlivingstonsg
Copy link
Author

Hi again.

I tried this

fig.canvas.setWindowTitle('AMG8833 Image Interpolation')

and now it works.
No warnings and no crashes for some time now. :)

Regards from Sweden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant