Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching between examples and demos #58

Open
rclabs opened this issue Aug 25, 2024 · 4 comments
Open

Switching between examples and demos #58

rclabs opened this issue Aug 25, 2024 · 4 comments

Comments

@rclabs
Copy link

rclabs commented Aug 25, 2024

I was able to get the widgets demo working by following the instruction, what is the best way to switch between demos and examples?

For example I want to run some files from the examples/anim/ folder

What is the recommended way to do this?

@frogm0uth
Copy link

Hi, I'm not sure about the best way, but you can comment out the call to lv_demo_widgets in main.c and replace it with the xample function you want e.g:

lv_example_anim_3(); // lv_demo_widgets();

@kisvegabor
Copy link
Member

Exactly! 🙂

@rclabs
Copy link
Author

rclabs commented Sep 5, 2024

Thanks for the responses, can we add this to doc main readme?

@kisvegabor
Copy link
Member

For you which docs page would be easy to find?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants