Navigation

    M5Stack Community

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

    Vrtisworks

    @Vrtisworks

    1
    Reputation
    7
    Posts
    934
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Vrtisworks Follow

    Posts made by Vrtisworks

    • machine.RTC().datetime parameters

      According to the micropython documentation, the parameters to setting the clock should be
      (year, month,day, hour,minute, second, millisecond, tzinfo)
      but if I feed them in that order, the date isn't set right.

      I am using an Atom Matrix.

      Here is an example of one way that fails, and one that works

      machine.RTC().datetime((2020,12,1,10,20,30,0,0))
      (2020, 12, 1, 20, 30, 0, 1, 336)
      machine.RTC().datetime()
      (2020, 12, 1, 1, 20, 30, 17, 239019)

      machine.RTC().datetime((2020,12,1,0,10,20,30,0))
      (2020, 12, 1, 10, 20, 30, 1, 336)
      machine.RTC().datetime()
      (2020, 12, 1, 1, 10, 20, 32, 759064)

      The first example is how the docs say.
      The second example puts a zero in front of the hour, and removes one from the end (to keep it to 8 parameters)

      posted in Micropython
      V
      Vrtisworks
    • Monitor serial output in Uiflow

      I have an Atom Matrix and Uiflow Desktop. Is there any way in Uiflow to see the console output (for example from a print function)?

      I can connect with PUTTY to the COM port and monitor the output. But if I have PUTTY connected, I cannot download from Uiflow to the Atom. I get a Java error that it cannot connect to the COM port. And once Uiflow gets the Java error, the only thing I can do to get it to download again (even after I shut down PUTTY) is to exit and restart Uiflow.

      posted in UIFlow
      V
      Vrtisworks
    • RE: Set brightness on one pixel

      @zontex I have an Atom Matrix. And I am using MicroPython .

      posted in Atom
      V
      Vrtisworks
    • Set brightness on one pixel

      Is there a function to set the brightness on one pixel?

      rgb.setBrightness(10) seems to set it on all pixels. I would like to be able to fade from one pixel to the next one.

      posted in Atom
      V
      Vrtisworks
    • OSError: -202

      I'm trying to get the time from an NTP server, but I keep getting OSError: -202 MOST of the time. Every once in a while it would work.

      Took me a while to figure it out, but finally did. So wanted to document it here.

      What isn't clear in the examples and documentation is that even though you obviously have a good internet connect because you can download the code from UIFLOW, when your program runs, you need to reconnect the WiFi.

      Once I did that as part of the initialization, I could get the NTP time just fine.

      posted in Atom
      V
      Vrtisworks
    • RE: Unable to burn to Atom

      I figured it out. There are two sets of instructions on flashing. One says to set the baud to 921600 and hold down the center button while powering on.

      The other says to set the baud to 750000 and Erase before you Burn. I followed those instructions, and it worked fine.

      posted in Atom
      V
      Vrtisworks
    • Unable to burn to Atom

      I just got an Atom-Matrix. Downloaded the current burn software.

      Windows 10 computer. When I plug in the Atom, Windows sees it, and sets up a COM port (COM4).

      But I cannot seem to get the ATOM into download or setup mode.

      If I hold the button down while plugging it in, the display is blue.

      If I do NOT hold the button down while plugging it in, the display is green.

      But no matter how long I hold it down, it never turns yellow.

      Nor does it show up as an access point.

      When I try the burn program, I get this in the console log:

      Start Burn

      --chip esp32 --port COM4 --baud 921600 --before default_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x3ff000 C:\Users\Nicholas\Downloads\M5Burner\packages\fw\other\wifi.bin 0x1000 C:\Users\Nicholas\Downloads\M5Burner\packages\fw\atom\UIFlow-v1.6.5-matrix.bin

      esptool.py v2.5.0
      Serial port COM4
      Connecting...
      .

      Chip is ESP32-PICO-D4 (revision 1)
      Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash
      MAC: 50:02:91:8e:d7:c4
      Uploading stub...
      Running stub...
      Stub running...
      Changing baud rate to 921600
      Changed.
      Configuring flash size...

      A fatal error occurred: Timed out waiting for packet header

      Burn Failed

      posted in Atom
      V
      Vrtisworks