DexterInd / DexterInd/GrovePi

using gesture sensor

Open
#387 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
494
Forks
472
PR merge metrics
No merged PRs in 30d

Description

I try to run grove_gesture_sensor.py
and I've got this error

pi@raspberrypi:~/Desktop/Exanple/python $ python grove_gesture_sensor.py wake-up finish. Traceback (most recent call last): File "grove_gesture_sensor.py", line 551, in <module> g.init() File "grove_gesture_sensor.py", line 378, in init self.paj7620WriteReg(self.initRegisterArray[i][0], self.initRegisterArray[i][1]) File "grove_gesture_sensor.py", line 386, in paj7620WriteReg bus.write_word_data(self.PAJ7620_ID, addr, cmd) IOError: [Errno 121] Remote I/O error
and my I2C is working very well

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the command python grove_gesture_sensor.py and start at grove_gesture_sensor.py in g.init(), where paj7620WriteReg calls bus.write_word_data. Check the reported I2C failure and determine what prevents initialization; done means the gesture sensor starts without IOError: [Errno 121] Remote I/O error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, raspberry-pi
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.