diff --git a/README.md b/README.md index 2865a29..5aaee8e 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ provide to argument to not pull the channels. provide the 0 argument to pull the channels low using the internal 40 kOhm resistor. provide the 3 argument to pull the channels high to 3.3V using the internal 40 kOhm resistor. pulling the channels may reduce the noise, in case the channel is floating. -the activity and current state (with time stamp) of the pin will be displayed in real time. -if the channel is switch fast, a X will appear in from of the current level. +the activity and current state (with time stamp) of the pin will be displayed (up to 0.1s speed). +if the channel is switch fast, an 'X' will appear in from of the current level. to stop monitoring, press any key. you can also reset the target board if you connected to target reset pin to the SWJ finder. diff --git a/application.c b/application.c index 565417b..eb03b90 100644 --- a/application.c +++ b/application.c @@ -425,7 +425,7 @@ static void command_monitor(void* argument) } // show help - puts("'x' shows multiple changes\n"); + puts("'X' shows multiple changes\n"); puts("press any key to stop monitoring\n"); puts("time (s) "); for (uint8_t i = channel_start; i <= channel_stop; i++) { @@ -472,7 +472,7 @@ static void command_monitor(void* argument) for (uint8_t i = channel_start; i <= channel_stop; i++) { // print level of each change putc(' '); // start new channel if (channels_changed[i] > 1) { // channel changed more than once - putc('x'); // show multiple changes + putc('X'); // show multiple changes } else { putc(' '); // show no or single change }