This library throws some typecast errors out of the box. I can get past the invalid conversion from 'const char' to 'unsigned char*' [-fpermissive]
errors by changing
const char cmd[] = {0x68, 0x01, 0x01, 0x96};
to
unsigned char cmd[] = {0x68, 0x01, 0x01, 0x96};
But I’m left with line 83 in the library:
if (_serial.readStringUntil(HPM_CMD_RESP_HEAD)) {
throwing an conversion from 'String' to 'bool' is ambiguous
error. I can’t figure this one out. Any suggestions?