Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. noiseislife
    3. Topics
    N
    • Continue chat with noiseislife
    • Start new chat with noiseislife
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by noiseislife

    • N

      Problem with M5TextBox
      M5 Stick/StickC • • noiseislife

      8
      0
      Votes
      8
      Posts
      8702
      Views

      @noiseislife With a little "wait_ms()" its more clear what you mean :-) from m5stack import * from m5ui import * from uiflow import * setScreenColor(0x111111) label1 = M5TextBox(05, 05, "a", lcd.FONT_Default,0xFFFFFF, rotate=0) label2 = M5TextBox(05, 20, "x", lcd.FONT_Default,0xFFFFFF, rotate=0) label0 = M5TextBox(16, 50, "A", lcd.FONT_DejaVu72,0xFFFFFF, rotate=0) for angle in range(91): label0.setRotate(angle) label1.setText('angle:' + str(angle)) wait_ms(50) for posX in range(16, 256): label0.setPosition(x=posX) label2.setText('pos-x:' + str(posX)) wait_ms(100) I am sure it is ones more a bug :-) You can check this, if you let the angle zero. You can see that the char disappears at pos-x = 33. And the same behavior occurs, if you have rotated the char. It is obviously one more of the uncountable bugs. @M5Stack: Why does the M5Stack not draw a char if a small part is outside of the screen? We can display a char half way, if it is rotated, but not if it is at angle 0 degrees. That makes no sense. Maybe someone would like to program a scrolling text so that chars appears on the right and disappears on the left. Best regards Thomas
    • N

      Looking for MicroPython module documentation
      M5 Stick/StickC • • noiseislife

      5
      0
      Votes
      5
      Posts
      8048
      Views

      You can also check out the wiki page on uiflow github page, it's pretty old and a lot of things are missing but you may find what you are looking for there https://github.com/m5stack/UIFlow-Code/wiki/M5UI
    • N

      Problem (Re)Loading UIFLow firmware.
      M5 Stick/StickC • • noiseislife

      8
      0
      Votes
      8
      Posts
      7944
      Views

      @noiseislife Glad you got to the bottom of it. I keep forgetting that option.