-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added fail, success and confirm response messages
added fail, success and confirm response messages, also try and except for most commands
- Loading branch information
Showing
8 changed files
with
88 additions
and
13 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import network | ||
sta_if = network.WLAN(network.STA_IF) | ||
ap_if = network.WLAN(network.AP_IF) | ||
sta_if.active(True) | ||
sta_if.connect('', '') #fill in with wifi and pw | ||
|
||
import mip | ||
base = "https://raw.githubusercontent.com/tuftsceeo/Smart-System-Platform/tree/b55c0e019d56afd73d017165f8d3636b31cd7edc/software/networking" | ||
files_to_copy = ["config.py", "networking.py"] | ||
|
||
for f in files_to_copy: | ||
print("Installing: ", f) | ||
mip.install(base+f) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters