platformio error with M5.IMU.INIT
-
hi report
src\main.cpp: In function 'void setup()':
src\main.cpp:71:6: error: 'class M5Stack' has no member named 'IMU'
M5.IMU.Init();define PlatformIO:
[env:m5stack-fire]
platform = espressif32
board = m5stack-fire
framework = arduino
lib_deps = M5Stack, Wire, SPIprogram work with arduino ide
any idea ?
thx -
that is so weird. you could recreate the project. clone the m5stack library from Github to the project lib path then test it again.
-
Solved
comment M5stack.h:
//#include <M5Stack.h>
#define M5STACK_MPU6886thx