Do you know how I can automatically centre a label in the exact centre of the screen?
Posts made by elettronico
CAN BUS Error with M5Stack and COMMU Module
Hi, I send the command via canbus to the M5stack but receive a different message.
I send 00 00 00 D8 0D 06 01
I receive 00 00 00 D8 r 08 01
It doesn't seem to like '0D' and sees it as CR
Is this a bug? Any ideas on how to fix it?
RE: Int to Float conversion
thank you Cognitive5525, I have already tried but it does not work.
Here is the partial code:
A3 = (str((hex(A2)[2:] + hex(A1)[2:]))) A4 = (str(int(A3, 16))) // here all ok and the Label shows 10000 mV A5 = A4 / 1000 label0.setText(str(A5)) //the label shows nothing