By mtravizano - Sun Aug 23, 2020 6:11 pm
- Sun Aug 23, 2020 6:11 pm
#42960
Hi guys, i just got the HUSKYlens with firmware 4.7. When I try to run the HUSKYLENS_GET_STARTED code i get:
.../Arduino/libraries/HUSKYLENS/HuskyLensProtocolCore.c: In function 'husky_lens_protocol_write_begin': .../Arduino/libraries/HUSKYLENS/HuskyLensProtocolCore.c:135:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types] return &send_buffer; ^~~~~~~~~~~~
When I upload the code to the Arduino UNO R3 (the one DFRobot sells) I can only get GARBAGE on the serial monitor.
Example: ⸮⸮⸮5⸮q>Q⸮⸮⸮⸮⸮⸮⸮F⸮&⸮[-⸮末⸮⸮⸮⸮⸮⸮⸮v⸮2⸮⸮⸮P⸮h1⸮⸮⸮⸮⸮⸮r1⸮2⸮Ҧ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮r1⸮⸮⸮:`⸮>⸮⸮⸮⸮⸮⸮⸮⸮5⸮RI⸮⸮4⸮ˎ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮
Same happens for both UART and I2C. I tried changing the Arduino and cables, but the same problems remain. Not sure if the first problem is related to the last one. Ideas? Thanks in advance.
.../Arduino/libraries/HUSKYLENS/HuskyLensProtocolCore.c: In function 'husky_lens_protocol_write_begin': .../Arduino/libraries/HUSKYLENS/HuskyLensProtocolCore.c:135:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types] return &send_buffer; ^~~~~~~~~~~~
When I upload the code to the Arduino UNO R3 (the one DFRobot sells) I can only get GARBAGE on the serial monitor.
Example: ⸮⸮⸮5⸮q>Q⸮⸮⸮⸮⸮⸮⸮F⸮&⸮[-⸮末⸮⸮⸮⸮⸮⸮⸮v⸮2⸮⸮⸮P⸮h1⸮⸮⸮⸮⸮⸮r1⸮2⸮Ҧ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮r1⸮⸮⸮:`⸮>⸮⸮⸮⸮⸮⸮⸮⸮5⸮RI⸮⸮4⸮ˎ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮
Same happens for both UART and I2C. I tried changing the Arduino and cables, but the same problems remain. Not sure if the first problem is related to the last one. Ideas? Thanks in advance.