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

请问有示例程序么? #1

Open
chenzhongxian opened this issue Feb 16, 2024 · 7 comments
Open

请问有示例程序么? #1

chenzhongxian opened this issue Feb 16, 2024 · 7 comments

Comments

@chenzhongxian
Copy link

chenzhongxian commented Feb 16, 2024

请问有类似Arduino库一样的示例程序方便上手么?

@Forairaaaaa
Copy link
Owner

目前只有这些

@zenz
Copy link

zenz commented Apr 13, 2024

可以看这个m5stack/M5DinMeter-UserDemo

@zenz
Copy link

zenz commented Apr 13, 2024

目前只有这些

顺便提个request,menu操作中能不能实现个功能,自动滚动到某个指定的项,这对于休眠后唤醒回到之前的选项非常有用。

@Forairaaaaa
Copy link
Owner

目前只有这些

顺便提个request,menu操作中能不能实现个功能,自动滚动到某个指定的项,这对于休眠后唤醒回到之前的选项非常有用。

是指这个吗,可以过渡或者直接跳到选项

@zenz
Copy link

zenz commented Apr 17, 2024

是指这个吗,可以过渡或者直接跳到选项

我用的是SmoothOptions类,目前用goNext一个一个项跳下去,跳到对应的项为止。如果也有一个moveTo函数,就好了。

@Forairaaaaa
Copy link
Owner

Forairaaaaa commented Apr 29, 2024

是指这个吗,可以过渡或者直接跳到选项

我用的是SmoothOptions类,目前用goNext一个一个项跳下去,跳到对应的项为止。如果也有一个moveTo函数,就好了。

https://github.com/Forairaaaaa/smooth_ui_toolkit/blob/main/src/select_menu/smooth_options/smooth_options.h#L159 加了,不过没试过(狗头

@zenz
Copy link

zenz commented Apr 30, 2024

是指这个吗,可以过渡或者直接跳到选项

我用的是SmoothOptions类,目前用goNext一个一个项跳下去,跳到对应的项为止。如果也有一个moveTo函数,就好了。

https://github.com/Forairaaaaa/smooth_ui_toolkit/blob/main/src/select_menu/smooth_options/smooth_options.h#L159 加了,不过没试过(狗头

有效!谢谢!

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