Going through todo comments on driver.py

This commit is contained in:
Deven 2022-11-05 19:09:47 -07:00
parent 4eb9ba5bab
commit cc26847bf4
3 changed files with 15 additions and 1 deletions

View File

@ -7,6 +7,8 @@ response = requests.get(URL)
open('ESP32driver', 'wb').write(response.content)
# need to change user destination figure out how to get it to downloads
# 11/5/22 --> Saving to downloads folder. No change made. Possible make a change in the inf file: https://learn.microsoft.com/en-us/windows-hardware/drivers/install/specifying-the-source-and-target-locations-for-device-files
with ZipFile('ESP32driver', 'r') as zipObj:
zipObj.extractall(os.path.join(os.path.expanduser("~"), "Downloads", "ESP32driver"))
# TODO: after extract the file, run the .inf file in it to actually install the driver

3
ESP32Driver_Script.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
pnputil -i -a silabser.inf # Windows only command

View File

@ -1,3 +1,12 @@
matplotlib
pyserial
wxPython
os
requests
urllib.requests
zipfile
datetime
serial
time
json
numpy