How many write operations are maximal at the EPROM possible?
Gaviota
@Gaviota
M5Stack experienced
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!
Latest posts made by Gaviota
-
M5Camera Firmware?
Where can i find the actual firmware for the M5Camera in the M5BURNER?
I burned the TimerCam Firmware but this seems to be a failiure by me because the M5Camera can not be reached :(
-
[UIFlow] External Interrupt
Please implement blocks in UIFlow for using external interrupts.
-
RE: How to import my own module into a project?
@alexander try visual studio code (vscode) to import your module in the directory where you can find also the file main.py. Tutorials for using m5stack with vscode are located on the m5stack-youtoube-channel https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w e.g. this video: https://www.youtube.com/watch?v=Y9pOWgsNgKk
-
RE: How to import my own module into a project?
@alexander you have to store it on the M5stack in the directory where the main.py file is located and use it with python code in execute blocks.
-
RE: Question about GROVE sensors and m5stack core2
ipsych in UIFlow 1.7.1 is a Problem with the Core 2 and the grove port, a update to UIFlow 1.7.2 will solve the problem https://community.m5stack.com/topic/2672/uiflow-1-7-1
-
RE: SDCard does not work on M5Stack FIRE.
@fraramon
Try use the sd with the UIFlow IDE -
RE: SDCard does not work on M5Stack FIRE.
@fraramon
Check the format of the SD-Card, ist must be FAT32 -
RE: UIFlow 1.7.1
@ove said in UIFlow 1.7.1:
I installed UIFlow_Core2 version v1.7.1_core2 on my Core2 and now I have no power on port A.
If I add "power.setBusPowerMode(0)" in the Python tab before any Units are initialized the power is returned but I can not do this with blocks.
The power is restored until the Core2 is reset.I detected a similar problem with the Core2 and UIFlow 1.7.1
Testing with the ENV- and the TVOC/eCO-units at port A of the Core2 drives it into the I2C-error message "I2C bus error(19)". After rolling back the Core2 to UIFlow 1.7.0 these units works with the Core2.
I think there must be a I2C-bug in UIFlow 1.7.1 for the Core2, at least for port A.
-
RE: "Identifier redefined as global" error when using Blockly functions
@lukasmaximus for my win10-pc the problem also seems to be solved, many thanks
-
RE: "Identifier redefined as global" error when using Blockly functions
@lukasmaximus on my IPad ist seems to work fine, the problem occured on a WIN10 pc, tomorrow i try it again on WIN10.