ElectronicCats / mpu6050

MPU6050 Arduino Library
MIT License
315 stars 123 forks source link

Doc [enhancement]: Open the processing sketch (Teapot). #73

Closed mw66 closed 9 months ago

mw66 commented 9 months ago

https://github.com/ElectronicCats/mpu6050/wiki/4.-Examples#dmp-examples

what's the command for this (on Linux):

step 5: Open the processing sketch (Teapot).

step 8: Run the processing sketch.

mw66 commented 9 months ago

found answer here:

https://forum.arduino.cc/t/mpu6050-electronic-cats-library-example-does-not-compile/1143806/7

BTW, the ~/Processing/libraries/ name on Linux is: ~/sketchbook/libraries/.

maybe add the link to https://processing.org/download will help new comers like me.

mw66 commented 9 months ago

However for

step 8: Run the processing sketch.

I got error: MPUTeapot.pde:77:0:77:0: RuntimeException: Error opening serial port /dev/ttyUSB0: Port busy

OK: it's taken by the Arduino IDE. It's better to add another step before step 8:

  step 8': after "Send any character to begin DMP programming and demo",  
    close the Arduino IDE to release the port.
xpeqex commented 9 months ago

Hi @mw66

Thank you for sharing this feedback. These comments are really helpful for a better guidance in the use of the library and its examples. I will add these in the Wiki.

Feel free to open a new issue if you have any other suggestions!