mirror of
https://github.com/Seal-Ammonia/Read-Sensor-Resistances.git
synced 2025-03-04 07:19:30 +00:00
Going through todo comments on driver.py
This commit is contained in:
parent
4eb9ba5bab
commit
cc26847bf4
@ -6,7 +6,9 @@ URL = "https://www.silabs.com/documents/public/software/CP210x_Universal_Windows
|
||||
response = requests.get(URL)
|
||||
|
||||
open('ESP32driver', 'wb').write(response.content)
|
||||
# need to change user destination figure out how to get it to downloads
|
||||
# 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
3
ESP32Driver_Script.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
pnputil -i -a silabser.inf # Windows only command
|
@ -1,3 +1,12 @@
|
||||
matplotlib
|
||||
pyserial
|
||||
wxPython
|
||||
os
|
||||
requests
|
||||
urllib.requests
|
||||
zipfile
|
||||
datetime
|
||||
serial
|
||||
time
|
||||
json
|
||||
numpy
|
||||
|
Loading…
x
Reference in New Issue
Block a user