Skip to content

Commit f9fd607

Browse files
committed
Add instructions for executing using root in venv
1 parent 67b8e93 commit f9fd607

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

02_Code/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FSEDevBoard package
2-
2+
33
## Installing
44
% sudo apt install python3 python3-pip
55
% pip3 install virtualenv
@@ -14,5 +14,8 @@
1414
(venv) % pip3 install FseDevBoard-0.0.1.tar.gz
1515

1616
### Running the PDC example
17-
(venv) % cd ../../applications
18-
(venv) % python3 PDC.py
17+
Note: Because applications using PWM must have root privileges, it is necessary to switch to root so that the venv is respected.
18+
% sudo su
19+
% source venv/bin/activate
20+
(venv) % cd ../../applications
21+
(venv) % python3 PDC.py

0 commit comments

Comments
 (0)