anfractuosity 3 lat temu
rodzic
commit
64e5badfd5
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 2 0
      README.md
  2. 1 1
      scenes/scope_scene_run.c

+ 2 - 0
README.md

@@ -14,6 +14,8 @@ Provide signal to pin 16/C0, with a voltage ranging from 0V to 3.3V.
 
 Press the 'ok' button (button in the centre of joypad) to pause/unpause the waveform display.
 
+[Demo](https://www.youtube.com/watch?v=tu2X1WwADF4) showing three different waveform types from a signal generator.
+
 ## To Do
 
 * Customisable input pin

+ 1 - 1
scenes/scope_scene_run.c

@@ -230,7 +230,7 @@ static void app_draw_callback(Canvas * canvas, void *ctx)
 {
     UNUSED(ctx);
     char buf[50];
-    snprintf(buf, 50, "Time: %.3f", time);
+    snprintf(buf, 50, "Time: %.5f", time);
 
     canvas_draw_str(canvas, 10, 10, buf);
     for(uint32_t x = 1; x < ADC_CONVERTED_DATA_BUFFER_SIZE; x++){