Song

Results 9 comments of Song

> 来个测试用例?这个直接删了逻辑总感觉有点怪 目前项目中的用例都是通过的。 根据代码分析,能够触发判断条件,也就是包含userTypingRef.current = false语句的函数有 onInternalStep ,onKeyDown中(which === KeyCode.ENTER),onKeyUp和onBlur函数。 除了导致问题发生的onKeyUp外,其余函数都可以正常执行 setInputValue 语句。 onInternalStep可以通过改变value满足useUpdateEffect中!newValue.equals(currentParsedValue)条件。 onKeyDown(which === KeyCode.ENTER)和 onBlur 通过 flushInputValue 函数执行。 并没有发现需要依赖!userTypingRef.current触发setInputValue的情况。

https://github.com/esp-rs/esp-hal/issues/1434#issuecomment-2055667647 I also raised this question in ESP-HAL

> What do you mean by "white screen"? Is the display inverted or is nothing visible at all? The entire screen is white, with only the backlight on, resembling an...

> That's strange we didn't really change the initialization of the ST7789 between 0.7.1 and the latest GIT revision. I only have access to a cheap ST7789 without a CS...

I am an amateur player and do not have these devices at hand

``` [package] name = "esp32-mipidsi-test" version = "0.1.0" authors = ["song "] edition = "2021" license = "MIT OR Apache-2.0" [dependencies] hal = { package = "esp32c3-hal", version = "0.10.0"...

> > According to your modifications, it can now function, but it seems to be mirrored. > > Do you mean that the coordinates are mirrored or are the colors...

想参与进来,Rust在嵌入式领域的发展。 提了一个pr,请关注https://github.com/Narukara/rust-on-esp-book-zh-cn/pull/4

When using ESP32C3 as the host to test bench.rs and ble.rs, my phone and laptop can receive the signal but cannot connect successfully without any prompts or errors. Is there...