OSError: accelerometer not found #9274
Unanswered
guyford94
asked this question in
Hardware & Peripherals
Replies: 1 comment 6 replies
-
Which type of Pyboard do you use? It may not have the accelerometer at the board. And besides, your firmware version is quite old. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey
I use pyboard:
(sysname='pyboard', nodename='pyboard', release='1.11.0', version='v1.11 on 2020-11-26', machine='VCC-GND(R)pyboard412-12m with STM32F412RE' )
I'm trying to run the simplest program for the accelerometer
"""
from pyb import *
accel = pyb.Accel()
accel.x()
"""
and get the error:
MPY: sync file systems
MPY: soft reboot
Traceback (most recent call last):
File "main.py", line 5, in
OSError: accelerometer not found
pyMCU v1.11 on 2020-11-26; VCC-GND(R)pyboard412-12m with STM32F412RE
Type "help()" for more information.
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions