Navigation

    M5Stack Community

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

    Posts made by tialm

    • Disconnect speaker

      Hi! My m5stack fire is making some loud white noise and I can't turn it off even with
      p = Pin(25)
      dac0 = DAC(p)
      dac0.write(0)

      Can I disconnect the speak safely if I don't ever intend to use it? Like cut the cable and remove it?

      Thank you!

      posted in PRODUCTS
      T
      tialm
    • RE: NCIR, i2c_bus and unit Updated micropython code

      Thank you for your help @liemph ! I ended up doing something similar. I have only now seen your answer. But for sure that will be helpful to someone!

      posted in Micropython
      T
      tialm
    • RE: MicroPython Firmware with M5Stack libraries

      Hi @lukasmaximus ! Any idea on when an updated version of the micropython m5stack libraries will be available? Since the ones in here are not complete, and don't if they are up to date with the current version used in uiflow

      posted in Micropython
      T
      tialm
    • RE: UIFlow 1.5.2

      Is it possible to know more about the ncir unit correction? What was wrong before? Asking because I am using a costume micropython version and want to know if I have to change something in my code.
      Thanks!

      posted in Official Updates
      T
      tialm
    • RE: Micropython SPI

      @thrasher I did it and it works fine. The only downside is that M5Stack doens't give you their micropython libraries to work with... They claim they are open source ( and that was why I got into it) but then they don't share the sources that we need to make the best of the hardware.. I have asked for some in other posts and got no reply

      posted in Micropython
      T
      tialm
    • NCIR unit weird values

      Hi guys!
      So I got a m5stack with a ncir unit. I am using uiflow to test and I am getting temperature values all over the place... I was supposed to get 4ºC+- on my fridge and it says is -10ºC !! Other measures are also not consistent....
      Is there any way to reset the ncir unit or something like that? Or is it possible that it is faulty? Do your units give consistent results?
      Thank you!

      posted in General
      T
      tialm
    • RE: NCIR, i2c_bus and unit Updated micropython code

      Also the unit code and updated i2c_bus would be highly appreciated!
      I am making a PoC using micropython 1.12 and some external libs, but I can't proceed if I don't have the m5stack libraries that I need!
      Please support us so that in our turn we can support you!

      posted in Micropython
      T
      tialm
    • NCIR, i2c_bus and unit Updated micropython code

      Hello!
      Is there any way to share the updated ncir unit micropython code? I really need it, the one in github is not updated.
      Thank you!
      Tiago

      posted in Micropython
      T
      tialm
    • RE: micropython flowlib missing sources

      2 months have passed, any development?

      posted in Micropython
      T
      tialm
    • RE: micropython flowlib missing sources

      Any update on this subject?

      posted in Micropython
      T
      tialm
    • RE: micropython flowlib missing sources

      I share @world101 thoughts. In another post ( http://community.m5stack.com/topic/1586/micropython-fresh-start/6 ) that diverged to the same issue I posted the following (for simplicity we should, from now on, keep the discussion in the current post instead of the other one.)

      "Thanks @lukasmaximus ! Good link for some info!
      I understand that they are now frozen in bytecode, but to do that you first need the normal source code. I know we can access https://github.com/m5stack/UIFlow-Code but those are only the ones that are not frozen. It would be a HUGEEE help and benefit for the community that the rest of the code would also be available. For example, I am making a project in which I need to do a custom micropython firmware with littlevGL and other stuff frozen, but without the source code that is currently frozen on your MP version I can't use my version with full potential on a m5stack. So if you could release the source code before being turned into bytecode, that would be a great help!
      Even if someone doesn't want to create a new MP custom firmare, just having the code would be easier to see what M5stack libraries are available, with no need to use repl to print them all.
      Hope I was not too confuse, I can clarify if needed!"

      posted in Micropython
      T
      tialm
    • RE: micropython flowlib missing sources

      @world101 m5stack is now doing some quality surveys etc, do it and tell them to make this available! Maybe they'll do that if more people ask for it!

      posted in Micropython
      T
      tialm
    • RE: micropython flowlib missing sources

      Indeed! It would be a major major feature to have access to that! It would open many new possibilities.
      Glad you managed to fix your PoC! Still working on mine but having a big headache trying to put littlevGL to work ahah.

      posted in Micropython
      T
      tialm
    • micropython flowlib missing sources

      Hi!
      I am trying to compile a custom micropython firmware (that makes use of littlevGL) but I am missing some m5stack libraries... where can I find the libraries sources that are not included in https://github.com/m5stack/UIFlow-Code ? For example the Unit library, the m5stack, m5base, face, power and many others.
      Thanks for the help!

      posted in Micropython
      T
      tialm
    • RE: Button lock

      Sorry! @ajb2k3 I have not forgot about this, I am a bit withou time, a lot to do for work right now!
      But I'll sketch up an example soon!
      Thank you for the help

      posted in Micropython
      T
      tialm
    • Button lock

      Hi! I am having a problem while using different functionalities of the M5stack buttons.

      1. So I have a program where when I longpress the B button I go to a certain menu. In that menu when I (normal) press B button it starts a function that uses the NCIR unit (makes 10 temperature readings and then stops). But some strange thing is happening.When I press the B button to make the readings, at the end of the readings it will call the Long Press function again and I don't want this to happen. Is this the supposed behavior?
      2. Also, if I have a longpress assigned and for example a loop that keeps on going if a button is pressed using the isPressed function at the end of that loop the longpressed function will be called anyway... How can I avoid this?
        Thank you for the help! Let me know if my question is confuse and I can make it in other way.
      posted in Micropython
      T
      tialm