Yes this works .. its in the tab "Privacy and Security" and there I had to switch from "Appstore and verified developer" to "Appstore" and then open the M5Burner again and confirm "Still open". Now it works on every start.
Best posts made by mchott
-
RE: M5Burner not running on Mac Venturaposted in SOFTWARE
-
RE: Core ADC with 12V damagedposted in Cores
Okay ... that falls then under "teaching money" and super stupid. Happens when it should always be done quickly on the side.
-
BLE with Atom Mini in UI Flowposted in Features Wish List
I would love to see the BLE support written on the box useable in the software. That would be a really great feature because currently I connect to the phone via wifi and that's a disadvantageous way. My dream would be "PWA > BLE > Atom".
Latest posts made by mchott
-
RE: How to set MTU for BLEUARTClientposted in UiFlow 2.0
After many try and more than many errors .. I´m able to reveive 256 bytes instead of 20 .. but in these 256 bytes are only 20 byte long pieces of the original message.
Send thee lines like "ab<30 characters long>/r/n"
Receive 60 bytes like "ab..<only first 20 bytes>ab..<only first 20 bytes>ab..<only first 20 bytes>"
And my Smartphone receives the full sent characters seperated like "ab<30 characters long>/r/n", "ab<30 characters long>/r/n", "ab<30 characters long>/r/n"
I ended now up with chunking my message into 20 byte pieces before sending and putting the message together after receiving.
-
RE: How to set MTU for BLEUARTClientposted in UiFlow 2.0
Btw:
The BLE server can send and receive long messages.
The BLE client can send long messages, but has this limitation for received messages.
-
RE: How to set MTU for BLEUARTClientposted in UiFlow 2.0
I have now tested the ‘new’ BLE Brick, and although it has an MTU command, the following error occurs:
Traceback (most recent call last):
File ‘<stdin>’, line 27, in ble_client_on_connected_event
File ‘m5ble/m5ble.py’, line 556, in set_mtu
ValueError: Not connected to a serverI set the MTU within the ‘ble_client_on_connected_event’ function, which is only called after connecting to the server, and I can both read and write with the server.
-
How to set MTU for BLEUARTClientposted in UiFlow 2.0
Hello, I am trying to receive data on a Core2 that I am sending from an Atom S3 Lite.
On the S3, I send the data via BLE server with a simple ‘write’ and I can read the data on a smartphone.
When I establish a connection on the Core2 as a BLE client, the connection works, but with ‘read’ I only get the first 20 characters of the sent data.
This is probably normal for BLE connections, but I get the full length on the smartphone, so sending is not the problem. Normally, you can set an MTU on the receiving side. However, the ‘set_mtu’ command does not seem to exist on the Core2.
The ‘new’ library contains this ‘set_mtu’ command.
HOW can you set the MTU on the Core2 BLE client?
-
RE: Need some help with debuggingposted in UiFlow 2.0
I will try the "ignore empty lines" method.
It feels random because of .. first try line 162, second try line 198, third try line 67 and finally it´s working without an issue .. and I don´t change anything in the meantime.
-
Need some help with debuggingposted in UiFlow 2.0
I´m using the version 2.0.3 for UI Flow and the firmware on my Atom S3 Lite. I´ve now an little bit complex part of script designed with the graphical interface. If I now send this to my Atom I get random errors for syntax. But if I send the same code several times I get random line references and also running the code without issues.
How can I now make sure, that my code is correct and starts every time? Which lines of code are mentioned because sometimes the reference is an empty line of code.
-
RE: Atom S3 Lite not working with PWM Kitposted in Atom
One more try .. I connected only the PWM pin 5 from the Atom with the PWM kit and powered the Atom via USB with no output. But from the layout it should be enough to have only the PWM signal?
And one more thing. If I power the Atom S3 via an USB cable it´s working. Can this be an powering issue?
If sombody want´s to test it .. https://uiflow2.m5stack.com/?pkey=c091fb79f13c4a1f956c407157c7e8fe .. Atom S3 Lite on PWM kit
-
SyntaxError: invalid syntaxposted in UiFlow 2.0
Hi .. if I run my current code on my M5Dial there is an issue. I got an "invalid syntax" but in line 41 is nearly nothing incorrect.
41: mqttMsg = None
Traceback (most recent call last):
File "<stdin>", line 41
SyntaxError: invalid syntaxIf I change the order of the lines, I get the same issue but for a different line and the old one is still there before the new one.
41: TempKlima = NoneI think there is nothing wrong with these lines and I´m looking at the wrong place of my code.
-
RE: Atom S3 Lite not working with PWM Kitposted in Atom
I tried now several devices and something is special with this combination. Sometimes it´s working for several seconds and then there seems to be a power cycle and it´s starting again. But Atom S3 Lite + PWM Kit never works well for a while. Super frustrating .. nobody else with this behavior?
-
RE: Atom S3 Lite not working with PWM Kitposted in Atom
Just to make clear .. the following code is only working with the Atome S3 and NOT with the Atom S3 Lite. Both in combination with the PWM Kit.
import os, sys, io
import M5
from M5 import *
from hardware import *
pwm5 = None
def setup():
global pwm5pwm5 = PWM(Pin(5), freq=20000, duty=512)
M5.begin()
def loop():
global pwm5
M5.update()
if __ name__ == '__ main__':
try:
setup()
while True:
loop()
except (Exception, KeyboardInterrupt) as e:
try:
from utility import print_error_msg
print_error_msg(e)
except ImportError:
print("please update to latest firmware")