Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Hnerik Schmidt
    H
    • Continue chat with Hnerik Schmidt
    • Start new chat with Hnerik Schmidt
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Hnerik Schmidt

    @Hnerik Schmidt

    1
    Reputation
    7
    Posts
    712
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Sweden Age 50

    Hnerik Schmidt Follow

    Posts made by Hnerik Schmidt

    • RE: substring substr get part of a string

      I was looking for this for 2 hours and after posting I found a solution by chance after 5 min.
      I will leave this with my solution if someone have the same problem later.
      this page show how it is done in python:
      https://www.freecodecamp.org/news/how-to-substring-a-string-in-python/
      now I started trying to find any function in UIflow that could replicate this and...

      "bytearray in list xxx get sub-list from # to #" actually writes this code!

      posted in UIFlow
      H
      Hnerik Schmidt
    • substring substr get part of a string

      This is probably obvious to everyone but me but I cant find any hit on google to explain how to get a part of a string into a new variable.

      As a reference to what I want to do: in most languages its is called something like substr( stringname, startposition, number of chars )

      posted in UIFlow
      H
      Hnerik Schmidt
    • RE: Core2 + RS232F Module 13.2 UART2 not possible?

      Ok so I might maybe probably have figured it out now.
      I compared the GPIO pinout of core and core2 and they have moved the pins on core2 to corespond to the same pins so what was said earlier that I should dipswitch the rs232 thing to 16/17 is correct.
      but at the same time the program should say 13/14. then it seems to play nicely,

      posted in Modules
      H
      Hnerik Schmidt
    • RE: Core2 + RS232F Module 13.2 UART2 not possible?

      deleted

      posted in Modules
      H
      Hnerik Schmidt
    • Core2 + RS232F Module 13.2 UART2 not possible?

      I have looked at the examples and the flow example indicates using uart2 and pins 16/17 on M5Stack Core.
      But according to documentation it is not the same pins for Core2 where uart2 is on 13/14 but pin 14 TX is not selectable on the dipswithes.

      I tried to use UART 1 on 1/3 but I have some issues with baud setting up 9600/7/1 None correctly on this port I think, and if I connect usb it stops working so...

      What am I doing wrong? Has anybody used the RS232 unit with core2?

      posted in Modules
      H
      Hnerik Schmidt
    • RE: UIFlow BIG FONT for Core 2...

      I just did a test and the Font exists and can be used this is a GUI bug in the editor.
      I created a custom block that made an execure block that inserts the code

      lcd.font(lcd.FONT_DejaVu24)

      and it runs just fine on my Core2 with latest firmware.
      Im new to this system so I do not know where to report bugs and if this is actively developed.

      posted in Features Wish List
      H
      Hnerik Schmidt
    • RE: UIFlow BIG FONT for Core 2...

      In the online Beta version I can only set lcd.Font to default, no other choice.
      This discussion is about saving memory but, the fonts are there, I can set them on the labels and they have 10 options.
      Why are these options not the same fonts for lcd and for labels?
      In blockly there seems to be no other way to dynamicly create text.

      posted in Features Wish List
      H
      Hnerik Schmidt