🤖Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • 7 Topics
    19 Posts
    J
    @pabou try using uiflow to generate the code, then peek copy from there.
  • _rgb_multi.Rgb_multi.setShowLock() documentation

    2
    0 Votes
    2 Posts
    2k Views
    R
    The only information I found is the post from https://namakeguma.com/?p=93 Which indicates some inconsistent behaviour across devices, but that setShowLock(True) as expected batches the led update until the next show() (or setShowLock(False); show() ) call. (thanks Google translate!) Official documentation or source code instead of random japanese online blog posts would be welcome.
  • MPU6886 (Accelerometer) with Atom S3 in MicroPython (mpu6886.py)

    3
    0 Votes
    3 Posts
    3k Views
    stjofrS
    Bad, works when plugged to computer but DOESN'T WORK when standalone :(
  • M5Cardputer & MicroPython

    3
    0 Votes
    3 Posts
    6k Views
    F
    Hello NYCMS, WOuld you mind pointing me the tutorial or similar you used to get your VSCode and Arduino CLI toolchain working? Thanks.
  • M5 MicroPython Library documentation

    5
    0 Votes
    5 Posts
    5k Views
    ajb2k3A
    That’s coming but there are differences in the various versions and so collect them is a challange. The UIFlow2 version with the drivers
  • microPython on esp32 C3 mate error InvalidPin when use GP19 for relay.

    3
    0 Votes
    3 Posts
    4k Views
    ajb2k3A
    the GP is not required, only numbers are required.
  • ledc_set_duty(446): channel argument is invalid

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Does LCD has the function of readPixel in Micropython?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Help with ir on AtomS3 sending RAW IR on 56khz

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Where is the API ?

    16
    1 Votes
    16 Posts
    18k Views
    C
    @gavin67890 said in Where is the API ?: Hi @cognitive5525, Were you thinking more like a M5Stack reference rather than how-do document? I would love that. Maybe like this https://docs.m5stack.com/en/uiflow/hardwares/microphone with further breakdown of each function with syntax and parameters in MicroPython code. Yes a reference as you'll find for the stock Micropython. Tutorials or Howtos are also find but usually only in the very beginning. Have you tried using Visual Studio Code to program devices directly? I might try Thonny because I need something that works across macOS, RPi and Linux. VS Code was ideal, and I have been using it, but I couldn't "add device" when I tried on macOS today. I tried it once or twice with VS some time ago, but I couldn't get the plugin work well. It was difficult to establish a stable connection to the devices. I had to tweak Thonny though: https://community.m5stack.com/topic/5268/micropython-for-atom-s3-lite/4
  • Micropython Support for M5Stack Core2 + LAN W5500 Module

    micropython
    7
    0 Votes
    7 Posts
    8k Views
    felmueF
    Hello @AdamMillionP having two devices using the same IP address is never a good thing in any network. The other thing which needs to be different between clients is the MQTT client id as it is used by the Mosquitto broker to distinguish between clients. Thanks Felix
  • Custom Micropython

    4
    0 Votes
    4 Posts
    4k Views
    felmueF
    Hello @ttmetro the DIN BASE contains a DC/DC converter. See schematic here. Thanks Felix
  • Modbus access is very slow in Micropython / UIFlow libaray

    2
    0 Votes
    2 Posts
    3k Views
    H
    Micropython/UIFlow library's slow Modbus access may be due to inefficient code implementation or hardware limitations. Check for optimizations, reduce unnecessary delays, and ensure proper configuration. Additionally, consider hardware capabilities for better performance.
  • M5Stack extension for VSCode - UIFlow1 only?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Micropython for Atom S3 Lite

    17
    0 Votes
    17 Posts
    20k Views
    ajb2k3A
    inter-erasure? I don't know what autocorrect did to my comment, sorry! The S3 does NOT work like previous generation devices and you have to put it into "Boot Loader" mode by holding in a button before a serial connection can be open to use the REPL terminal.
  • Micropython bin for M5stack Basic

    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    @tazfranck You can find a generic esp32 D0WDQ6 version on the Micropython web site.
  • Micropython for Atom S3

    3
    2 Votes
    3 Posts
    5k Views
    K
    @ajb2k3 any update on the tutorial? Would be greatly appreciated for all newbies :)
  • old text line visible under new one

    4
    1
    0 Votes
    4 Posts
    5k Views
    M
    Hello@margel The description in m5-docs is done with setTextColor. https://github.com/m5stack/m5-docs/blob/master/docs/en/api/lcd.md setTextColor( color, backgroundcolor )
  • Maximum recursion depth?

    11
    0 Votes
    11 Posts
    18k Views
    teastainT
    Rather, I chose to switch to polling, which worked much better, so it seems.
  • Micropython M5Stamp Stamp I/O Help please?

    7
    0 Votes
    7 Posts
    7k Views
    ajb2k3A
    Way hay I got it. in micropython you use i2c.writeto_mem(0x45, 0x00, b'\x01') to set the mode and then i2c.writeto_mem(0x45, 0x10, b'\x01') i2c.writeto_mem(0x45, 0x10, b'\x00') to turn each pin off and on it digital mode. And I can conform that the EXT I/O 2 and the ExtI/O stamp are the same units!
  • RAW I2C Access help with SHT30 (ENVIII) please.

    5
    1
    0 Votes
    5 Posts
    6k Views
    ajb2k3A
    @teastain I have had a few issues with the SHT30 sensor. For a start, Hardware I2C is broken in micropython but SoftI2C works fine. On a core2 I had to use the PaHub to get the SHT30 to read. I have solved my initial problem in that it was the conversion formula I had wrong.