rework IrDA demo, add face to display test file
This commit is contained in:
@@ -107,7 +107,7 @@ bool irda_demo_face_loop(movement_event_t event, void *context) {
|
||||
movement_force_led_on(0, 48, 0);
|
||||
}
|
||||
char buf[14];
|
||||
snprintf(buf, 11, "IR%2d%c%c%c%c%c%c", bytes_read, data[0], data[1], data[2], data[3], data[4], data[5]);
|
||||
snprintf(buf, 11, "IR%2d%c%c%c%c%c%c", bytes_read, data[1], data[2], data[3], data[4], data[5], data[6]);
|
||||
watch_clear_display();
|
||||
watch_display_text(WATCH_POSITION_FULL, buf);
|
||||
data[31] = 0;
|
||||
|
||||
Reference in New Issue
Block a user