Add module check

This commit is contained in:
S. Seegel 2018-04-26 14:49:59 +00:00
parent fcc0f30247
commit ffd562598c

View file

@ -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,