Thanks all @UKHeliBob @cattledog @johnwasser @gcjr
, i can run my code and it can be read on nRF Connect. I created a UUID service and its characteristics like this Get Started with Arduino Nano 33 BLE - OKdo . and I changed my code to be like this:
else if(result.classification[1].value > 0.70){
Serial.print( "Terdeteksi Marah");
if(central.connected()) greetingCharacteristic.setValue("Terdeteksi Marah");
marah();
I have permission to delete my code because I am in the process of completing research so that my final project is not detected by copies from the internet