@m5stack in the Arduino TinyGPS ++ library GPS speed is available, but it would be great to be able to use it with UIFlow.
Is there any mircopython gps-library (or commands) available which can be accessed with execute blocks?
M5Stack - Newbie
When using the gps-unit how can i get the actual speed, or how can i calculate it from longitude and latitude?
In UI Flow only the following values are available:
By the way, when will the gps module implemented in UIFlow?
I had similar problems, here you find my way for solving these
I made a hour counter using UI-Flow. When i test it using the run button of UI-Flow it works fine, but when i try downloading the program to the m5stack it also freezes.
After adding more program code, the testing also fails because the py-code where re-sorted by UI-Flow and some procedures where located at the end and are not reachable for the main loop. After manually sorting the procedures in a correct order the program runs fine again but downloading is again not possible.
The cause of this behaviour is that UI-Flow stores the complete blockly-file (.m5f-file-type) in addition to the py-code to the m5stack. Therefore i used vs-code to transfer the py-code directly to the m5stack without the blockly-file and the program runs.
My conclusions for big programs:
Multiple libraries were found for "SPI.h"
Not used: /Users/ce/Documents/Arduino/libraries/SPI
You have installed multiple libraries
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Use the option "Show verbose output during compilation", as shown in the compiler message, to get more information about the problem.
Hi @zorfox, during first start up of my m5stack i went also in problems with m5burner.
On a second laptop the m5burner runs well.
Then back to the first laptop it runs, but i took an other usb-port.
Test other usb-ports at your pc, may be that this is the problems solution.
Hi @lukasmaximus thank you for the micropython code.
This is my test program for writing and reading data to/from SD card:
Is there a possebility adding files at the posting? then i can add the Blockly-file here.
And last but not least a short whish list for improvements at UiFlow:
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:
For a first preview of the hour counter here you can see the display content:
... translation of the german text:
The Button Labeles are in english