From ffd562598c5c7dcbc2374e7c2db272e9ae90e0fa Mon Sep 17 00:00:00 2001 From: "S. Seegel" Date: Thu, 26 Apr 2018 14:49:59 +0000 Subject: [PATCH] Add module check --- rcs1000.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rcs1000.py b/rcs1000.py index 2393fe3..244e711 100755 --- a/rcs1000.py +++ b/rcs1000.py @@ -48,6 +48,10 @@ print "Sending", str data = xx2262.MakeFrame(str, 8) +if not Rfm69.Test(0): + print "RFM69 not found!" + exit() + rfm = Rfm69() rfm.SetParams( Freq = 433.92,