- Note: that currently only supported C++
pros/*.hpp
- Download:
git clone --recursive https://github.com/3038922/pros-lvgl-sim.git
- or:
git clone https://github.com/3038922/pros-lvgl-sim.git
git submodule update --init --recursive
- how to build: Development Environment Tutorial
- Considering the future, I have updated lvgl to 6.1.
- The API of pros itself has a little conflict with the simulator support, so don't directly cover the project into the project of pros at present.
- After all the tests are completed, I will delete the ncrapi related code and only keep the independent pros-lvgl-sim.
- find
ncrapi_lvgl_sim_kernel\ncr_lvgl_sim_conf.h
#define USE_PROS_LVGL_SIM 1
0
If you are compiling a standard vex program. such asmake clean
make all
prosv5 mut
1
If you want to use a simulator.You can copy your graphic code directly to the project and run it.
- click
1
autonomous() - click
2
opcontrol() - click
3
competition_initialize() - click
4
disabled() - click
w
s
E_CONTROLLER_ANALOG_LEFT_Y
. - click
a
d
E_CONTROLLER_ANALOG_RIGHT_X
. - click
q
e
E_CONTROLLER_ANALOG_LEFT_X
. - click
⬆ Up Arrow
⬇ Dw Arrow
E_CONTROLLER_ANALOG_RIGHT_Y
. - click
z
E_CONTROLLER_DIGITAL_L1
. - click
x
E_CONTROLLER_DIGITAL_L2
. - click
c
E_CONTROLLER_DIGITAL_R1
. - click
v
E_CONTROLLER_DIGITAL_R2
. - click
r
E_CONTROLLER_DIGITAL_UP
. - click
f
E_CONTROLLER_DIGITAL_DOWN
. - click
t
E_CONTROLLER_DIGITAL_LEFT
. - click
g
E_CONTROLLER_DIGITAL_RIGHT
. - click
y
E_CONTROLLER_DIGITAL_X
. - click
h
E_CONTROLLER_DIGITAL_B
. - click
u
E_CONTROLLER_DIGITAL_Y
. - click
j
E_CONTROLLER_DIGITAL_A
.