From 1ed3c264d1af65fe30700028302d55cfa75369dd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 3 Jun 2021 17:14:09 -0400 Subject: [PATCH] added sleep 15 at the start to cover CubeSatSim initialization time --- rpitx.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index c202f458..4badc2a9 100644 --- a/rpitx.py +++ b/rpitx.py @@ -23,7 +23,9 @@ else: txLed = 27 txLedOn = 1 txLedOff = 0 - + +time.sleep(15) // delay to cover cubesatsim initialization time + GPIO.setup(txLed, GPIO.OUT) print(txLedOn) print(txLed)