Update README.md

Be more explicit about running i2cgui #9
This commit is contained in:
James Bowman 2019-03-10 09:09:59 -07:00 committed by GitHub
parent dc075ca988
commit 9105dcadb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -36,7 +36,13 @@ On Linux cross-compile ``i2ccl``:
cd c cd c
make -f win32/Makefile make -f win32/Makefile
On Windows build the GUI executable using ``pyinstaller``: On Windows first make sure that you can run the GUI on the command-line, e.g.
python python\samples\i2cgui.py
(You may need to install i2cdriver, wxPython and pySerial).
Then build the GUI executable using ``pyinstaller``:
cd python\samples cd python\samples
pyinstaller --onefile --windowed --icon=../../images/i2cdriver.ico i2cgui.py pyinstaller --onefile --windowed --icon=../../images/i2cdriver.ico i2cgui.py