Skip to content

Commit 287e7b3

Browse files
committedApr 14, 2022
added power setting
1 parent a3fd310 commit 287e7b3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎setup_transceiver.py

+13
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@
4444
print("Check your connections again\n")
4545
sys.exit()
4646
else:
47+
48+
ser.write(B"AT+P8")
49+
time.sleep(0.01)
50+
print(ser.readline())
51+
52+
ser.write(B"AT+RX")
53+
time.sleep(0.01)
54+
print(ser.readline())
55+
print(ser.readline())
56+
print(ser.readline())
57+
print(ser.readline())
58+
print()
59+
4760
print("AT commands output:")
4861
print("-----------------------")
4962

0 commit comments

Comments
 (0)
Please sign in to comment.