How many write operations are maximal at the EPROM possible?
Best posts made by Gaviota
-
RE: Saving and reusing variables?
-
Code for UiFlow-execute block needed for reading and writing the sd-card
Hi everyone!
Using UiFlow V1.3.5-Beta, i'm buliding a hour counter for my boat engine.The new timer blocks are great and very helpful, many thanks to the team.
To store and restore the cumulated seconds i need code for the UiFlow-execute block for reading and writing the sd-card:
- Is there anyone who can help me?
- Or are SD-card blocks foreseeen for the next beta version?
For a first preview of the hour counter here you can see the display content:
... translation of the german text:
Title:- Betriebsstunden = Operating Hours
Labels:
- Stunden = Hours
- Tag = Day
- Batterie = Battery
The Button Labeles are in english
-
RE: "Identifier redefined as global" error when using Blockly functions
@lukasmaximus @m5stack @ajb2k3 @admin
Critical bug with the word "global" at python code transformation from UIFlow 1.6.2@world101
... i agree with you, there is a critical bug in UIFlow 1.6.2.E.g. using the word "global" causes the python code transformation to replace the following text with all defined variables. Or defining a function with parameters causes a global definition in this function with the given paramater (look at my short test_global-program):
with variables: value, var01
var01 is set to "Bug with text global"In function "dosomething" with given parameter "value" i placed an Execute-code block with following content:
# Test function for global error
# look for global error
# look for Global errorwhen switching to </>Python - page you can see that UIFlow made incorrect code transformation:
This code cann not run because:
Line 17: the identifier "value" is redifined as global
Line 27: the text after the word "global" is replaced by "var01, value" and the closing quotation mark is missingAs you can see, each time the word "global" appears, the following text is replaced by all defined variables (see lines 18, 19 and 27).
In line 20, the word "global" begins with a capital letter which doesn't lead to mistakes in code transformation.
Note:
With UIFlow 1.6.1 desktop version this problem does not exist!