Code Monkey home page Code Monkey logo

code-for-self-balancing-robot-using-arduino's Introduction

code-for-self-balancing-robot-using-arduino

code for self baacing robot

code-for-self-balancing-robot-using-arduino's People

Contributors

satinder147 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

code-for-self-balancing-robot-using-arduino's Issues

when i upload this code to arduino mega i get these errors

In file included from C:\Users\VIVO\Documents\Arduino\github_SBR\github_SBR.ino:60:0:

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetQuaternion(int32_t*, const uint8_t*)':

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:604:30: warning: left shift count >= width of type

 data[0] = ((packet[0] << 24) + (packet[1] << 16) + (packet[2] << 8) + packet[3]);

                          ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:604:50: warning: left shift count >= width of type

 data[0] = ((packet[0] << 24) + (packet[1] << 16) + (packet[2] << 8) + packet[3]);

                                              ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:605:30: warning: left shift count >= width of type

 data[1] = ((packet[4] << 24) + (packet[5] << 16) + (packet[6] << 8) + packet[7]);

                          ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:605:50: warning: left shift count >= width of type

 data[1] = ((packet[4] << 24) + (packet[5] << 16) + (packet[6] << 8) + packet[7]);

                                              ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:606:30: warning: left shift count >= width of type

 data[2] = ((packet[8] << 24) + (packet[9] << 16) + (packet[10] << 8) + packet[11]);

                          ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:606:50: warning: left shift count >= width of type

 data[2] = ((packet[8] << 24) + (packet[9] << 16) + (packet[10] << 8) + packet[11]);

                                              ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:607:31: warning: left shift count >= width of type

 data[3] = ((packet[12] << 24) + (packet[13] << 16) + (packet[14] << 8) + packet[15]);

                           ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:607:52: warning: left shift count >= width of type

 data[3] = ((packet[12] << 24) + (packet[13] << 16) + (packet[14] << 8) + packet[15]);

                                                ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetGyro(int32_t*, const uint8_t*)':

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:637:31: warning: left shift count >= width of type

 data[0] = ((packet[16] << 24) + (packet[17] << 16) + (packet[18] << 8) + packet[19]);

                           ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:637:52: warning: left shift count >= width of type

 data[0] = ((packet[16] << 24) + (packet[17] << 16) + (packet[18] << 8) + packet[19]);

                                                ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:638:31: warning: left shift count >= width of type

 data[1] = ((packet[20] << 24) + (packet[21] << 16) + (packet[22] << 8) + packet[23]);

                           ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:638:52: warning: left shift count >= width of type

 data[1] = ((packet[20] << 24) + (packet[21] << 16) + (packet[22] << 8) + packet[23]);

                                                ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:639:31: warning: left shift count >= width of type

 data[2] = ((packet[24] << 24) + (packet[25] << 16) + (packet[26] << 8) + packet[27]);

                           ^

C:\Program Files (x86)\Arduino\libraries\arduinosbr/MPU6050_6Axis_MotionApps20.h:639:52: warning: left shift count >= width of type

 data[2] = ((packet[24] << 24) + (packet[25] << 16) + (packet[26] << 8) + packet[27]);

                                                ^

Sketch uses 18080 bytes (7%) of program storage space. Maximum is 253952 bytes.
Global variables use 775 bytes (9%) of dynamic memory, leaving 7417 bytes for local variables. Maximum is 8192 bytes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.