From 79f3e0616066e2f39e5615c9b260c4273af3b670 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 8 Dec 2022 08:45:32 -0500 Subject: [PATCH] added play_pwm_from_file --- cubesatsim/cubesatsim.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 8e920a17..66002063 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -74,6 +74,7 @@ char call[] = "AMSAT"; // put your callsign here extern bool get_camera_image(); extern bool start_camera(); extern bool get_pwm_file(); +extern void play_pwm_from_file(int dds_pwm_pin); void setup() { @@ -291,8 +292,8 @@ void loop() { show_dir(); - play_pwm_file(26); - +// play_pwm_file(26); + play_pwm_from_file(26) // ITimer1.restartTimer(); // turn back on pushbutton timer /// ITimer1.enableTimer(); // turn back on pushbutton timer if (debug_mode)