Hello,
I am successfully using the following code:
float f = 23.50
char buffer[10];
sprintf(buffer, "Float = %f\n", f);
SEGGER_RTT_WriteString(0, buffer);
I have two questions:
-
From where is the sprint function being loaded? My project is a copy of one of the ble_peripheral examples. I am building and loading to the pca10028 with Keil uVision 5. I have poked around looking for a linker library include but have not spotted it (I'm still relatively new to uVision)
-
What header file can I include in order to silence the warning: #223-D: function sprint declared implicitly
Thank you.