Skip to content

Commit 339294d

Browse files
committed
Update Discord Web Scrape Example with Connection Manager
1 parent 44dff09 commit 339294d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/wifi/expanded/requests_wifi_api_fitbit.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ def time_calc(input_time):
8686
top_nvm = microcontroller.nvm[0:64].decode()
8787
nvm_bytes = microcontroller.nvm[0:64]
8888
top_nvm_3bytes = nvm_bytes[0:3]
89-
print(f"Top NVM Length: {len(top_nvm)}")
90-
print(f"Top NVM: {top_nvm}")
91-
print(f"Top NVM bytes: {top_nvm_3bytes}")
89+
if DEBUG:
90+
print(f"Top NVM Length: {len(top_nvm)}")
91+
print(f"Top NVM: {top_nvm}")
92+
print(f"Top NVM bytes: {top_nvm_3bytes}")
9293
if RESET_NVM:
9394
microcontroller.nvm[0:64] = bytearray(b"\x00" * 64)
9495
if top_nvm_3bytes == b"\x00\x00\x00":

0 commit comments

Comments
 (0)