Navigation

    M5Stack Community

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

    jjshoe

    @jjshoe

    0
    Reputation
    10
    Posts
    157
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jjshoe Follow

    Posts made by jjshoe

    • RE: UIFlow Source

      Are their guides out there on loading just micro python say the m5stack core2? What functionality, if any would be lost?

      Where I'm at now is I have a fully functional program, but I can't seem to find any way to ditch the uiflow splash screen on the device, and the three options it shows on boot.

      posted in UIFlow
      J
      jjshoe
    • RE: No reset when USB power removed [SOLVED]

      Can confirm the m5stack core2 aws iot edukit edition suffers this same behavior.

      I don't trust myself to do the tiny soldering, this is incredibly disappointing.

      posted in M5stack Grey
      J
      jjshoe
    • RE: UIFlow - Micropython - USB plugged in

      The python version of the c function looks like its probably not available:

      >>> dir(hardware.axp192.Axp192)
      ['__class__', '__init__', '__module__', '__name__', '__qualname__', '__bases__', '__dict__', 'deinit', 'setBusPowerMode', 'powerAll', 'setLCDBrightness', 'setPowerLED', 'setSpkEnable', 'powerOff', 'CURRENT_100MA', 'CURRENT_190MA', 'CURRENT_280MA', 'CURRENT_360MA', 'CURRENT_450MA', 'CURRENT_550MA', 'CURRENT_630MA', 'CURRENT_700MA', 'getTempInAXP192', 'getChargeState', 'getBatVoltage', 'getBatCurrent', 'getVinVoltage', 'getVinCurrent', 'getVBusVoltage', 'getVBusCurrent', 'setChargeState', 'setChargeCurrent', 'setLDOVoltage', 'setLDOEnable', 'setDCVoltage', 'disableAllIRQ', 'clearAllIRQ', 'enableBtnIRQ', 'setESPVoltage', 'setLCDBacklightVoltage', 'setLCDEnable', 'setLCDReset', 'setVibrationIntensity', 'setVibrationEnable', '_regChar', '_read8bit', '_read12Bit', '_read13Bit', '_read16Bit']
      >>> 
      

      However, I found two alternative ways to detect this, i2c being my favorite: https://imgur.com/a/nscmAHF

      posted in UIFlow
      J
      jjshoe
    • UIFlow Source

      Is UIFlow open source? Can people contribute back blocks? etc.

      posted in UIFlow
      J
      jjshoe
    • RE: UIFlow - Micropython - USB plugged in

      @crami25 said in UIFlow - Micropython - USB plugged in:

      You can use this function in UIFlow:
      Whenever the USB is plugged in, the battery is charged.
      You will find the block in the Hardware/Power section:
      0_1675361595278_889f78b8-6ae1-44c8-90f4-57ad1873112a-image.png

      Actually isCharging returns false after the battery goes full for a while, I realize I can then do logic to check the battery capacity, and isCharging, was just hoping there was a simpler way.

      posted in UIFlow
      J
      jjshoe
    • RE: Wifi settings tutorial

      @crami25 said in Wifi settings tutorial:

      CardKB unit

      I should add I'm looking to do this without additional hardware

      posted in UIFlow
      J
      jjshoe
    • Wifi settings tutorial

      UIFlow, core2, does anyone have a tutorial, or screneshot, of what all is involved in allowing a user to change wifi ssid/password WITHOUT burning?

      posted in UIFlow
      J
      jjshoe
    • UIFlow - Micropython - USB plugged in

      Is it possible using UIFlow/Blockly to detect when USB is plugged in? From other threads (https://forum.m5stack.com/topic/3611/detecting-when-plugged-in-vs-when-charging) it looks like I need to be able to implement this:

      M5.Axp.isACIN();

      posted in UIFlow
      J
      jjshoe
    • RE: Image as button

      This works great, thanks!

      posted in SOFTWARE
      J
      jjshoe
    • Image as button

      Using the m5stack core2, uiflow, and blockly. Am I missing some obvious way to use an image as a button on the touch screen? I can't find a way to assign an image to a button, nor can I find a way to assign some sort of listener to the image.

      Is my only option to get screen coordinates of a touch? That seems like a handful.

      posted in SOFTWARE
      J
      jjshoe