Andy Harris

Results 5 comments of Andy Harris

Fair Play, I've been bashing it around all afternoon trying to work out what the difference between the project on an ESP32 and on the RP2040. I'm trying to built...

I refactored the code to serve from static, removed the debug prints and set `debug=False` on the app start. I also tried the nightly build of MicroPython 1.19.1 ( https://micropython.org/resources/firmware/W5100S_EVB_PICO-20220811-unstable-v1.19.1-273-g6c67fbc28.uf2...

I just got delivery of the W5500-EVB-Pico and I can confirm the same issue. Perfect over two switches - very slow or failed refreshes when connected to the same switch.

Here's how I got it to work: ``` def set_speed(speedval): regsettings=OrderedDict(( ('A1', 12000), ('V1', 4000), ('AMAX', 20000), ('VMAX', speedval), ('DMAX', 9000), ('D1', 600) )) regactions='WWWWWW' assert len(regsettings)==len(regactions) currently=mot.md.readWriteMultiple(regsettings,regactions) ``` Once...

Here's effectively the same result from 2.7.0: `venv/bin/rpi-backlight -b 100 Traceback (most recent call last): File "/home/andy/venv/bin/rpi-backlight", line 33, in sys.exit(load_entry_point('rpi-backlight==2.7.0', 'console_scripts', 'rpi-backlight')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/andy/venv/lib/python3.11/site-packages/rpi_backlight/cli.py", line 80, in main...