We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db98938 commit a96a68fCopy full SHA for a96a68f
BUILD_DIR/t4_sensor1.c
@@ -38,7 +38,7 @@ ESOS_USER_TASK(loop) {
38
//wait for UART availability to send output to Bully Bootloader
39
ESOS_TASK_WAIT_ON_AVAILABLE_OUT_COMM();
40
41
- sprintf(buffer, "%d\n", u16_data);
+ ESOS_TASK_WAIT_ON_SEND_STRING(buffer, "%X\n", u16_data);
42
ESOS_TASK_WAIT_ON_SEND_STRING(buffer); //wait for data in buffer to be sent and release UART
43
ESOS_TASK_SIGNAL_AVAILABLE_OUT_COMM();
44
ESOS_TASK_WAIT_TICKS(LOOP_DELAY /2); /*this is half of the 1 second delay between samples
0 commit comments