-
Sat 2019.11.16
Hi @Ptitonio,
'I tried other module successfully'
Which module did you have success with?
I just checked the sample script:and it appears there is no binding of the pins for I2C to the MPU6050 using the connect() function. Is all the code actually provided in #1?
Also, the pin labeling L#1 scl,sda needs another look as the pin numbers are different between devices:for instance
http://www.espruino.com/Pico
Formatting help suggestion: It appears the reason for the block within the three backticks is not displaying correctly, is that this line 'TypeError: Cannot read property 'length'' needs to start on the next line following the backticks. Both opening and closing backtick group needs to be on its own line.
Hello ,
when I save this code on my Pico or EspruiniWiFi :
the console return :
I tried other module successfully.
Is the MPU6050 module a problem?
Am I missing something?
Thank you for your help