🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • AtomS3U USB otg.

    Atom atom s3
    2
    0 Votes
    2 Posts
    747 Views
    K
    I tried the following code: import os, sys, io import M5 from M5 import * from unit import KeyUnit from usb.device.keyboard import Keyboard from usb.device.hid import KeyCode keyboard = None key_0 = None def key_0_wasClicked_event(state): global keyboard, key_0 keyboard.set_keys(KeyCode.A, 0, 0, 0, 0, 0) def setup(): global keyboard, key_0 M5.begin() keyboard = Keyboard() key_0 = KeyUnit((1, 2)) key_0.setCallback(type=key_0.CB_TYPE.WAS_CLICKED, cb=key_0_wasClicked_event) def loop(): global keyboard, key_0 M5.update() key_0.tick(None) if __name__ == '__main__': try: setup() while True: loop() except (Exception, KeyboardInterrupt) as e: try: from utility import print_error_msg print_error_msg(e) except ImportError: print("please update to latest firmware") And I got the following error: Traceback (most recent call last): File "main.py", line 5, in <module> ImportError: no module named 'usb' So the usb module is not present in the firmware. Is that on purpose, or is this a bug? Is there a way to add the library?
  • Maximum output power

    Atom atom s3 power supply
    3
    0 Votes
    3 Posts
    4k Views
    I
    @ajb2k3 said in Maximum output power: @imahgin Yes, the only difference is that the lite lacks the screen. Thks Adam
  • mqtt and button on atomS3

    UiFlow 2.0 mqtt atom s3 button
    3
    1
    0 Votes
    3 Posts
    4k Views
    A
    Great help, that did the job. Very thanks
  • About Atom s3 initial registration

    Atom atom s3 uiflow 2 m5stack communi
    2
    0 Votes
    2 Posts
    3k Views
    ajb2k3A
    @mono-mono go into uiflow2 and change the name by clicking on the device on the bottom of the screen
  • Atom S3 with UIFlow

    Atom uiflow atom s3 uiflow 2 atom
    7
    0 Votes
    7 Posts
    11k Views
    O
    Then probably the fact that Atom S3 currently supports only tiny subset of UIFlow features should be made clearer in the product description. I bought an Atom Matrix for a DIY watering project, was fairly impressed with the device (and the whole M5Stack concept) and decided that small local display for current humidity etc would be even better. So I bought the new AtomS3 (described as supporting UIFlow development platform) and currently can't connect it neither to my Watering sensors nor the MQTT data collection server. I will switch my development back to the Matrix and will be looking forward to switch it again when the features I need will be supported in UIFlow 2