Navigation

    M5Stack Community

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

    SirMichael

    @SirMichael

    0
    Reputation
    6
    Posts
    498
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    SirMichael Follow

    Posts made by SirMichael

    • M5Stack Core2 function definitions & arguments

      I'm trying to figure out how to used the M5Stack, Core2 and using the Examples. I'm trying to write some code to generate some on-screen buttons and found the "events_buttons_gestures_rotation" sample script.

      OK, it works, but it doesn't explain some of the details that I need. For example there is a code line:

      Button tl(0, 0, 0, 0, false ,"top-left", off_clrs, on_clrs, TL_DATUM);

      I'm assuming that the "0,0,0,0" is the coordinates (but what order???). But what is the binary "false" arg, etc...
      But I can't find any document that explains what all of the function arguments are.
      This is not only for this function, but all of the other functions in the library.

      I went to the https://github.com/m5stack/M5Core2 which is the download for the library and found the Keywords.txt which lists all of the functions, but none of the definitions.

      Where can I find the definitions for the various function arguments?

      Sir Michael

      posted in SOFTWARE
      S
      SirMichael
    • RE: Can't load program modifications...

      @teastain,

      I haven’t gotten very far in learning the UIflow enough to learn if it supports the “tabs” like the Arduino ide. I have some libraries that I often include in my sketches (i.e.: Morse code for error messaging) and it’s easier to put all of the buttons in one file, display in another, subroutines, etc….
      Does UIflow support anything like that? Files?

      I’ll be honest, I don’t understand enough about the ESP32 to understand about your references to Expressif. I have used an ESP32 for the Bluetooth as a solution to a problem that I had, but I am not using it at near its capacities.

      And to ajb2k3, I am in fact using the M5burner with the Core2 (as mentioned above). It’s working, but just slow…. As a matter of fact, even the Arduino compiler is slow.
      I think that I may have some other interaction issues with some other install somewhere.

      Sir Michael

      posted in Core2 for AWS
      S
      SirMichael
    • RE: Can't load program modifications...

      I gave up... There were no answers and I couldn't get UIFlow to work.
      Went back to Arduino IDE.

      Sir Michael

      posted in Core2 for AWS
      S
      SirMichael
    • Can't load program modifications...

      I have a Core2-AWS and trying to learn how to use it. I've done a lot of programming with Arduinos in the past...

      I had a program loaded into the M5Stack, and then went back to the M5Burner and loaded the UIFlow for the Core2 (top of the list).

      My M5Stack comes up as Com9 and I can load in my original "Hello World" that I wrote some months ago. However, I can't see to do any mods to the program and get them to load (adding a box/label/sound, etc.). The UIFlow just says that it's disconnected.
      I'm trying to figure out how I would go about writing and debugging a program, adding code, etc... Keeps saying that it's "Disconnected".

      I tried via USB (local UIFlow exe) and TCPIP (Browser editor), but it always says that the device is disconnected. Tried "Reset" and restarting...

      What am I doing wrong?

      Sir Michael

      posted in Core2 for AWS
      S
      SirMichael
    • UIFlow Save to other than "Downloads" folder

      I can't seem to figure out how to use the online UIFlow editor and to save to a different folder. It defaults to the "Downloads" folder.

      I can open a file in another directory, but I can't seem to change the default folder. I want to use "Documents/M5Stack" and locate my folders there.

      I've searched the "Settings" and everyplace else that I could think of.
      I've tried to google for a solution, but it always takes me on a wild goose chase.

      Sir Michael

      posted in UIFlow
      S
      SirMichael
    • M5Stack Bluetooth Comms to ESP32 BT & another device

      I've purchase an M5Stack Core2 (AWS) and I'm considering incorporating it into an existing project for the display/controller.

      I have an LDMOS amplifier that is orchestrated by an Arduino MEGA for power, control and band switching. I'm driving the amplifier with a ICOM radio that operates Bluetooth, so I incorporated an ESP32 using Bluetooth to do the Comms to the IC-705 radio. When ever the radio's frequency band changes, the MEGA follows by changing the amplifier band-switch and the antenna switch. This works fine.

      The amplifier is mounted remotely (basement, just below me) and I have a "2 line/16 character" display with 5 buttons that communicates to the Arduino MEGA via I2C comms (SDL/SCL lines with pullups). But with a physical shack re-configuration, the cable no longer reaches and I've added an extension to the cable, but the comms is intermittent.

      What I'd LIKE to do is to use the M5Stack as the display/control and communicate to it through my existing ESP32 Bluetooth along with the communications to the Radio.

      Can I connect the existing ESP32 Bluetooth the BOTH the IC-705 Radio AND to the M5Stack Core2 for the display and control parameters?

      I currently communicate from the ESP32 to the IC705 via BT using a declaration:
      BluetoothSerial SerialBT; (Sorry, I don't understand how to use the triple brackets to show code! I'm a newbie here.)

      Would I then declare a second instance to communicate with the M5Stack:
      Bluetooth Serial M5StackBT;
      and send all the display parameters to the M5StackBT?

      Does this change seem feasible?
      Any "gotcha's" that you can see?

      Thanks!

      Sir Michael

      posted in PROJECTS
      S
      SirMichael