Can not even verify auduino sketch for Huskylens

userHead Account cancelled 2021-10-06 00:00:31 907 Views0 Replies
Can anyone suggest me about a problem of Huskylens library

I did add Huskylens library then I try to test running a sketch with Huskylens library.

The results:
In file included from C:\Users\joke\Documents\Arduino\test-Huskylens-01\test-Huskylens-01.ino:1:0:
C:\Users\joke\Documents\Arduino\libraries\HUSKYLENS/HUSKYLENS.h: In member function 'bool HUSKYLENS::writeFirmwareVersion(String)':
C:\Users\joke\Documents\Arduino\libraries\HUSKYLENS/HUSKYLENS.h:706:43: error: variable-sized object 'data' may not be initialized
uint8_t data[length + 2] = {length};
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Thank you in advance
Supachai P.