Example of using the MPU6050 library.

Dependencies:   MPU6050

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Mon Jan 18 19:58:43 2021 +0000
Parent:
0:5bba454d6e5a
Commit message:
Example of using the MCPU6050 library.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Jan 18 19:47:17 2021 +0000
+++ b/main.cpp	Mon Jan 18 19:58:43 2021 +0000
@@ -35,7 +35,7 @@
  * @param
  * @retval
  */
-void print(int8_t val)
+void print(int16_t val)
 {
     if (val < 0) {
         serial._base_putc('-');