INSTALL
825 Bytes
* To install 'pwm_handler' on STM32 board, connect uUSB cable to CN5 connector of board and then copy files in 'PYBFLASH' directory with respect to your application.
- Common files to all applications:
./servo_class/servo_serial_com.py
../common_class/vnh5019.py
../common_class/switches.py
../common_class/pid.py
- If ADC MCP3551 used:
../common_class/mcp3551.py
- If application is servo2to2 (2 inputs, 2 PID servo and 2 outputs) see README of servo2to2 directory.
- If application is servo2to1 (2 inputs, 2 PID servo and 1 output) see README of servo2to1 directory.
* To install client, put the file "pwm_client" located in "client" directory where you want to use it.
To use client, you need pyserial and tkinter package installed on your computer:
$ python3 -m pip install --user pyserial
$ sudo apt install python3-tk