add port selection

- add log view
	- interpolate string with code and DAC values
This commit is contained in:
prisar
2023-08-07 10:33:23 +05:30
parent 9e066b376e
commit f24ded1719
3 changed files with 294 additions and 22 deletions

View File

@@ -2,4 +2,48 @@
install arduino-cli
https://arduino.github.io/arduino-cli/0.33/installation/
https://arduino.github.io/arduino-cli/0.33/installation/
### prerequisites
arduino-cli
python
pyinstaller
### install
pip install -r requirements.txt
### run
python hemocube.py
### build
pyinstaller --noconfirm --noconsole -i "smi.ico" --windowed --clean hemocube.py
### build error
>fqdn error: replace the check with nano fqdn explictly.
In Sketch.py of everywhereml/arduino replace line 167 and 228 with:
self.fqbn = 'arduino:avr:nano:cpu=atmega328old'`
>arduino library not found: manually copy all required libary in the same folder
### installation after release
> first install the `arduino-cli.exe` and add it to path. verify it using terminal/cmd.
> then, connect the device and run the app exe. the port selection should have show an entry
> enter the values and select the port to upload the new dac values for QC
> the status will be show in the logging box. device will be ready, only if the upload sccuess is shown.