Fifo warning causing serial writing misorder .. Help me out i am desperate


hi everyone;

i 17 years old . trying learn kinds of sensor. used stm32f4 , done serious codding before .  but cant finish project because of 1 bug or 1 error. please me out 1 .  :smiley-sad:


i reading quaternion values mpu6050.  i building navigation circuit need rotation calculations repeatable .

i realize  teapot dmp example producing right values. okey. there error says

code: [select]
c:\users\\arduino\libraries\mpu6050/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]);



this reason cant pull values corect order. if struggle imu's before must  you might encounter that. please me on 1 . because cant think solitions. today spent 7 hours solving issue. , thats no joking .here dmp code


http://www.instructables.com/id/giroscope-led-controll-with-arduino/#comment-list

that's not error, it's warning. it's important understand difference. error prevents compilation completing. warning compiler telling "hey, here's might want take at". should try fix warnings in own code when possible encounter warnings in libraries easier ignore rather making effort fix else's code.


Arduino Forum > Using Arduino > Programming Questions > Fifo warning causing serial writing misorder .. Help me out i am desperate


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???