Skip to content

Commit 5603016

Browse files
author
brentru
committed
add sending/sent
1 parent 38dd7c8 commit 5603016

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/fona_sms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
print("RSSI: %ddB" % fona.rssi)
2222

2323
# Text a number
24+
print("Sending SMS...")
2425
if not fona.send_sms(140404, "HELP"):
2526
raise RuntimeError("FONA did not successfully send SMS")
27+
print("SMS Sent!")
2628

2729
# Ask the FONA how many SMS message it has
2830
num_sms = fona.num_sms

0 commit comments

Comments
 (0)