Hi,
I am using SES for programming with an example of BLE Uart NUS and SAADC combined.
I can send raw data, and that all works fine, but conversion to the real ADC voltage value does not work. Via UART or the app, floats are being printed blank. Also, at Project Options in SES I do not have the option to enable printing floats as I have seen as a solution in other topics.
This is also part of the code:
uint16_t adc_value; uint8_t data[20]; float adc0; printf("Temp: %d\r\n", adc_value); adc0 = (adc_value/1024)*3.3; printf("Convert: %f\r\n", adc0); sprintf((char *)data, "Data: %f", adc0);