@robertgallup I was able to reproduce the error.
@louis The first 2 arguments in the prototypes for
const ei_impulse_t* AND
void ei_classifier_smooth_init(const ei_impulse_t*,
So either these 2 functions need to be wrapped and not exposed to the Ardy user and separate calls created for the user consumption or the
Impulse needs to get up into the Ardy INO.
I do not have a Nano BLE (there seems to be none for sale, what’s up Arduino?). However, I got the program to compile.
I am guessing this is how to bring the
Impulse up to the Ardy INO but may be way off base here.
ei_impulse_t impulse = ei_construct_impulse();
Then mod 2 lines in the INO:
ei_classifier_smooth_init(&impulse, &smooth, 10,7,0.8, 0.3);
const char *prediction = ei_classifier_smooth_update(&impulse, &smooth, &result);