UIFlow 1.6.1
-
UpdateLog:
Ver 1.6.1 time : 2020.07.24
firmware:
- Add: V function support color trace..
- Add: Support NTP time synchronization..
- Fixed: StickC Plus Wi-Fi reconnect image size change..
- Fixed: I2C support custom frequency init..
- Fixed: Modbus slave return data add data length byte..
- Fixed: V function Target track fix some bug..
web:
- Add: V function support color trace..
- Add: Support NTP time synchronization..
- Add: Bitwise blocks.
- Fixed some bugs.
-
Thanks for adding NTP support!
Edit #1: it seems like NTP isn't working for me on the StickC with a very basic flow...
The REPL error:
Traceback (most recent call last): File "flow/m5cloud.py", line 76, in _exec_fun File "<string>", line 23, in <module> NameError: name 'ntptime' isn't dUnhandled eefined xception in thread started by <bound_method> Traceback (most recent call last): File "flow/m5cloud.py", line 120, in _msg_deal_task AttributeError: 'M5TextBox' object has no attribute 'ticks_ms'
Edit #2 -- workaround:
I think the Init nttptime with host block needs to call "import ntptime" first. I fixed it by adding an execute block before the init. NTP works now.
-
Hi,
I am having a problem getting the NCIR MLX90614 to work. I noticed that Ver 1.6.1 includes a fix to I2C so was hopeful this might fix it. However I now get:-
"NCIR unit maybe not connect".
My test program is:-
-
Hi @world101 ,
Thanks for report!We found the bug and will fix it ASAP.Have a nice day.
-
@lordinchcape said in UIFlow 1.6.1:
Hi,
I am having a problem getting the NCIR MLX90614 to work. I noticed that Ver 1.6.1 includes a fix to I2C so was hopeful this might fix it. However I now get:-
"NCIR unit maybe not connect".
My test program is:-
Hi @LordInchcape ,
Which device do you use?I test Core/Fire/StickC/StickC-Plus/Atom-lite/Atom-Matrix with NCIR unit works well(V1.6.1).
Maybe you should check the NCIR link port.It should be linked to port A.Actually we find a bug with NCIR hat,we will fix it at next version.
Have a nice day.
-
Servos hat
Can we get a block to control the servo with a number/variable instead of the drop down box please? -
@world101
Sorry this doesn't work, i get the error "local variable referenced before assingment"Then running the ntptime on M5Stack fire with the work around and without the work around to get detailed error messages
Pressing the detail button shows the error:
File "<string>", line 18, in <module>
File "ntptime.py", line 17, in init
File "ntptime.py", line 48, in updateTime
File "ntptime.py", line 35, in getTimestamp
NameError: local variable referenced before assingment