From 72e4087a132484e0fedd9da85c9965f9be08058d Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 25 Jul 2022 06:20:10 -0400 Subject: [PATCH] added morse frequency --- cubesatsim/cubesatsim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index f6215d47..c84b145a 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -301,7 +301,8 @@ bool TimerHandler0(struct repeating_timer *t); RPI_PICO_Timer ITimer0(0); RPI_PICO_Timer ITimer1(0); -int morse_timing = 100; +int morse_timing = 100; // ms for a dit +int morse_freq = 800; // Hz int morse_table[44][5] = { // 0-9, A-Z only by (ASCII - 48) { 3, 3, 3, 3, 3 }, // 0 { 1, 3, 3, 3, 3 }, // 1