We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy pasted folder from https://github.com/ozzmaker/BerryIMU/tree/master/arduino-BerryIMU and ran it and faced this issue. No changes were made in the code. Error below:
C:\Users\F\arduino-BerryIMU\IMU.cpp: In function 'void enableIMU()': C:\Users\F\arduino-BerryIMU\IMU.cpp:52:59: warning: invalid conversion from 'byte {aka unsigned char}' to 'byte* {aka unsigned char*}' [-fpermissive] readFrom(LSM6DSL_ADDRESS,LIS3MDL_CTRL_REG3,1, temp); ^ C:\Users\F\arduino-BerryIMU\IMU.cpp:20:6: note: initializing argument 4 of 'void readFrom(int, byte, int, byte*)' void readFrom(int device, byte address, int num, byte buff[]) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Copy pasted folder from https://github.com/ozzmaker/BerryIMU/tree/master/arduino-BerryIMU and ran it and faced this issue. No changes were made in the code. Error below:
C:\Users\F\arduino-BerryIMU\IMU.cpp: In function 'void enableIMU()':
C:\Users\F\arduino-BerryIMU\IMU.cpp:52:59: warning: invalid conversion from 'byte {aka unsigned char}' to 'byte* {aka unsigned char*}' [-fpermissive]
readFrom(LSM6DSL_ADDRESS,LIS3MDL_CTRL_REG3,1, temp);
^
C:\Users\F\arduino-BerryIMU\IMU.cpp:20:6: note: initializing argument 4 of 'void readFrom(int, byte, int, byte*)'
void readFrom(int device, byte address, int num, byte buff[]) {
The text was updated successfully, but these errors were encountered: