From f96ade91490f5ef68cdb3b5a776471f5a6d2b26f Mon Sep 17 00:00:00 2001 From: n4al Date: Sat, 12 Feb 2022 00:29:48 +0000 Subject: [PATCH] Updating the README to reflect the new file system layout (#658) * Updating the README to reflect the new file system layout (and dependencies) * Compressing two environment variables into a single one * Adding named arguments Co-authored-by: Nemanja Lukic --- python/oled/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/oled/README.md b/python/oled/README.md index afea157c..f1ae8744 100644 --- a/python/oled/README.md +++ b/python/oled/README.md @@ -9,7 +9,7 @@ $ python3 -m venv venv $ source venv/bin/activate # Install requirements $ pip3 install -r requirements.txt -$ python3 src/rascsi_oled_monitor.py +$ PYTHONPATH=$PWD/src:$(dirname $PWD)/common/src python3 src/rascsi_oled_monitor.py ``` ### Parameters @@ -20,7 +20,7 @@ The script takes two positional parameters: Ex. ``` -$ python3 rascsi_oled_monitor.py 180 64 +$ python3 rascsi_oled_monitor.py --rotation 180 --height 64 ``` _Note:_ Both parameters must be passed for the script to read them. Ordering is also important.