Yanothai Chaitawat

Results 6 comments of Yanothai Chaitawat

I just `git clone` this repo into `C:\Espressif\frameworks\esp-idf-v4.3.7-3>` and thing seems to work. I tried `git clone` this repo somewhere else and that menu don't appear. Is this considered a...

No.....but with proper current control it's possible I guess? the tone() function generate square wave where it's just 0 and 1 With current control you can reach between 0 and...

I solve this issue by adding baudrate=256000 argument into RPLidar class and the lidar just spins. (reconnection still required)

> you could > > ``` > mouse.hook(mouse_handler) > ``` > > ``` > def mouse_handler(event): > if isinstance(event, mouse.WheelEvent): > // handle wheel scrolling > ``` There isn't a...

> Works perfectly fine for me I noticed one thing though : `mouse.is_pressed(button=mouse.LEFT)` has a slight cooldown of 0.9~1 second That is totally a bug

I "workaround" this problem by using pynput instead. ```python from pynput import mouse is_mouse_pressed=False def mouse_hook(x, y, button, pressed): global is_mouse_pressed if button==mouse.Button.left: is_mouse_pressed=pressed listener = mouse.Listener(on_click=mouse_hook) listener.start() while True:...