python - Intel Edison and Sparkfun 9DOF block -


i doing project using intel edison , sparkufun 9dof block. in trying display output of 9dof block on terminal(i using putty project). have stacked intel edison, sparkfun 9d0f block , arduino expansion block (as don't have sparkfun base block). using code in following link.

link: https://github.com/smoyerman/9dofblock

example.py main code running terminal using command python python example.py, other calling other 2 functions sf_9dof.py , config.py in example.py function.

after running compile command getting following errors

 file "example.py", line 8, in <module>     imu.initialize()   file "/home/root/9dof/sf_9dof.py", line 52, in initialize     resp = self.x.readreg(self.g.who_am_i)   file "/usr/lib/python2.7/site-packages/mraa.py", line 1165, in readreg     return _mraa.i2c_readreg(self, reg) valueerror: unknown error in i2c::readreg() 

i tried search reason getting such errors, did not find helpful. new intel edison , 9dof.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -