A project created by Team 8 of Google Hardware Product Sprint (HPS) Program 2023.
- Use Arduino IDE to upload
./src/arduino/main/main.ino
. - Force sensor:
PIN A1-A5
. - LED strand:
PIN 6
.
-
Open Terminal/PowerShell.
-
cd
(change directory) to the project directory.cd [your_path]/Google-HPS-2023-Team8
-
Use
ls
(list) to check if you are in the right place. (For more information, usels -al
) Terminal should show something like these:(...) -rw-r--r-- 1 andrewchiu staff 1068 Jul 21 04:28 LICENSE -rw-r--r-- 1 andrewchiu staff 660 Aug 20 08:53 README.md (...)
-
Update the project by
git
.-
Check the status of git by
git status
-
Terminal should show something like these:
(...) nothing to commit, working tree clean
If it says
no changes added to commit (use "git add" and/or "git commit -a")
, then commit or drop the changes first. -
pull
from remotegit pull
If some warnings or errors show, please connect to Andrew.
-
-
Use python to run the tests.
python3 ./tests/[test_name].py