Huskylens AI camera V1 with ESP32 board
Ahmad.bin muhamad 2026-04-08 23:39:55 232 Views3 Replies hi.. need help.. Huskylens Ai camera can work with ESP32 board?
if yes.. any example basic coding ?
before this i use arduino Mega with Husklylens all work fine..
when try use with ESP32 board.. example coding (from huskylens library) Error compiling..
thanks
Hi! Yes, the HuskyLens AI camera is fully compatible with ESP32 boards!
I tested the library example HUSKYLENS_I2C.ino with ESP32 and encountered this compilation error:
E:\auduino\libraries\HUSKYLENS\HuskyLensProtocolCore.c:135:12: error: returning 'uint8_t ()[128]' {aka 'unsigned char ()[128]'} from a function with incompatible return type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]
135 | return &send_buffer;
| ^~~~~~~~~~~~
exit status 1
Here's the fix: Locate the HuskyLensProtocolCore.c file, change line 135 from “return &send_buffer; ” to “return send_buffer; ” , save the file and recompile.
Yx thanks for replay.. very appreciated.
let me try edit that file and update the result.
thanks


