Hello,
I have a raspberry pi 4 with a raspberry pi 7 inch screen and a grove hat, linked to a adxl1001 sensor.
My problem is that I can’t get it to read from the analog ports. It gives me a Typeerror: Int not subscriptable on the analogRead part of the grovepi module.
I’ve tried changing os and even installing raspbian for robots experimental version for raspberry pi 4, which doesn’t work. How can I get this to work?
The way I installed the grove on the raspberry pi was with the manual instalation of grove.py, because the os is >bullseye. Then I installed the grovepi module with pip, the only way it worked.
What am I doing wrong?