How to get classification.result[ix].value

I want to use the classification result as conditional (if(){}) parameter but not doing according to what is in the condition. and also I tried to Serial.print the classification.result[ix].value but it get error said no matching function for call to ‘arduino::UART::println(ei_impulse_result_classification_t&)’

I think I should create new function similar to print function in edge (ei_printf) to return the value, but I don’t know how to do it, or there is other solution? thanks in advance

Hello @alvinzulham,

If you want to grab the results classification you can do something similar to this which lights on a LED according to the classification results. It’ll give you an idea of how you can do something with the inference results:

Regards,

Louis

Do you have example for nano_ble33_sense_microphone.ino ? because it have error when apply the example code