From f98a12cd810f911d140cb823ad9949a40e785e6a Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 25 Jul 2022 06:01:50 -0400 Subject: [PATCH] morse table edits --- cubesatsim/cubesatsim.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index c7f2e2c8..bbb9d081 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -301,7 +301,7 @@ RPI_PICO_Timer ITimer0(0); RPI_PICO_Timer ITimer1(0); int morse_table[44][5] = { // 0-9, A-Z only by (ASCII - 48) - { 1, 1, 1, 1, 1 }, // 0 + { 3, 3, 3, 3, 3 }, // 0 { 1, 3, 3, 3, 3 }, // 1 { 1, 1, 3, 3, 3 }, // 2 { 1, 1, 1, 3, 3 }, // 3 @@ -330,7 +330,7 @@ int morse_table[44][5] = { // 0-9, A-Z only by (ASCII - 48) { 1, 3, 3, 3, 0 }, // J { 3, 1, 3, 0, 0 }, // K { 1, 3, 1, 1, 0 }, // L - { 3, 3, 1, 0, 0 }, // M + { 3, 3, 0, 0, 0 }, // M { 3, 1, 0, 0, 0 }, // N { 3, 3, 3, 0, 0 }, // O { 1, 3, 3, 1, 0 }, // P @@ -342,7 +342,7 @@ int morse_table[44][5] = { // 0-9, A-Z only by (ASCII - 48) { 1, 1, 1, 3, 0 }, // V { 1, 3, 3, 0, 0 }, // W { 3, 1, 1, 3, 0 }, // X - { 3, 3, 1, 3, 0 }, // Y + { 3, 1, 3, 3, 0 }, // Y { 3, 3, 1, 1, 0 } // Z };