Installation on Windows 10
Hallo, i'm trying to install Arduplot on my Windows machine for using it with Platformio. I have some understanding Problems with step 2:
copy ~/.platformio/penv/lib/python3.9/site-packages/arduplot/filter_plotter.py to either
<Project>/monitor
- Right now I have Arduplot download with pip.
- it is located in folder C:\Users\Jupiter Moll\AppData\Local\Programs\Python\Python310\Lib\site-packages\arduplot
- In this folder i have three files: init.py , filter_plotter.py and plotserialdata.py
Question should i copy this whole folder into :
~/.platformio/penv/lib/python3.9/site-packages/
? And what does this mean?
<Project>/monitor
Should i creat an new folder in my platformio project with the name monitor.
An what should i put here?
Thx>
There are three ways to configure.
- configure every time you create a pio project
- configure your platform wise like esp8266 or esp32
- or you just configure globally by setting an environment variable.
For 1, you create a folder 'monitor' under your pio project folder, and copy ~/.platformio/penv/lib/python3.9/site-packages/arduplot/filter_plotter.py script to that folder.
For 2, you create the ~/.platformio/platform/espressif8266/monitor folder and copy ~/.platformio/penv/lib/python3.9/site-packages/arduplot/filter_plotter.py to that folder. If you're using other platform like esp32, then create the ~/.platformio/platform/espressif32/monitor folder and copy to that folder.
For 3, you set the environment variable as in README.md in the Windows way.
So, you're correct for the option 1. Create the monitor folder and copy the python script.
Hope this help.
Since this answer is reflected on the README.md, it can be closed.