DFRobot / DFRobot_LIS

MIT License
12 stars 5 forks source link

H3LIS200DL Triple Axis Accelerometer #2

Open goamberg opened 1 year ago

goamberg commented 1 year ago

Hi I am trying to get the example get_acceleration.py to run for my first time. During the install I get the error that python-smbus is not available anymore. I tried to use a drop in replacment to install (smubus2). When I try to run the get_acceleration.py it says:

Traceback (most recent call last):
  File "get_acceleration.py", line 17, in <module>
    from DFRobot_LIS import *
ImportError: No module named DFRobot_LIS`

I guess I am simply missing something from the installation. I did it step by step according to this: https://wiki.dfrobot.com/H3LIS200DL_Triple_Axis_Accelerometer_SKU_SEN0408#target_6

tangjie133 commented 1 year ago

Whether the code has been modified