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 849279a commit 612469dCopy full SHA for 612469d
picoboard/blinky/blinky.c
@@ -54,9 +54,9 @@ void put_morse_letter(uint led_pin, const char *pattern) {
54
55
void put_morse_str(uint led_pin, const char *str) {
56
for (; *str; ++str) {
57
- if (*str >= 'A' && *str < 'Z') {
+ if (*str >= 'A' && *str <= 'Z') {
58
put_morse_letter(led_pin, morse_letters[*str - 'A']);
59
- } else if (*str >= 'a' && *str < 'z') {
+ } else if (*str >= 'a' && *str <= 'z') {
60
put_morse_letter(led_pin, morse_letters[*str - 'a']);
61
} else if (*str == ' ') {
62
sleep_ms(DOT_PERIOD_MS * 4);
0 commit comments