1
0
Fork 0

docs: fix simulator main.py path (#482)

Signed-off-by: GaryM0101 <gary@geekslounge.com>
This commit is contained in:
Gary Myers 2024-08-07 07:48:18 -07:00 committed by GitHub
parent 7d156cdc05
commit 24dcb62fdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,7 +254,7 @@ To launch the simulator:
sh$ make sim sh$ make sim
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=.:wasp/boards/simulator:wasp \\ PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=.:wasp/boards/simulator:wasp \\
python3 -i wasp/main.py python3 -i wasp/boards/simulator/main.py
MOTOR: set on MOTOR: set on
BACKLIGHT: 2 BACKLIGHT: 2
Watch is running, use Ctrl-C to stop Watch is running, use Ctrl-C to stop
@ -280,8 +280,8 @@ by swiping or using the Arrow keys to bring up the launcher and then clicking
on your application. on your application.
The application can also be registered automatically when you load the The application can also be registered automatically when you load the
simulator if you add it to ``wasp/main.py``. Try adding lines 5 and 6 from simulator if you add it to ``wasp/boards/simulator/main.py``. Try adding lines
the above example into this file (between ``import wasp`` and 5 and 6 from the above example into this file (between ``import wasp`` and
``wasp.system.run()``). ``wasp.system.run()``).
The simulator accepts gestures such as up/down and left/right swipes but the The simulator accepts gestures such as up/down and left/right swipes but the