Navigation

    M5Stack Community

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

    candide

    @candide

    1
    Reputation
    6
    Posts
    83
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    candide Follow

    Posts made by candide

    • RE: Cannot use Blynk with M5StickC +

      Thanks! I use v2 (white) so i don't have a solution since v1(black) does not allow new login creation and it is not compatible with v2 login

      What else can i use to achieve the same goal. The goal beeing to be able to receive the temp data easily on a mobile phone or any remote device. Thanks

      posted in General
      C
      candide
    • Cannot use Blynk with M5StickC +

      Hello,

      I'm certainly missing something super obvious here. So i need your help
      I tried the sample code provided in the doc but it is not easy for me.
      Also if you can point me to more tutorials on blynk feel free to do it.

      Environment

      • M5StickC+
      • FW 1.9.8
      • NCIR HAT

      Issue

      When using Blynk nothing happens in Run mode. M5Stick screen remains stalled, with Labels with its default value. Nothing also on the Blynk app side.

      M5Stick works fine, when i remove all the blynk related stuff it works great. See other post for the code

      What am I missing here?

      0_1656062406582_1b247bee-f08a-4f07-8c33-43ae63b3e00e-image.png

      from m5stack import *
      from m5ui import *
      from uiflow import *
      from IoTcloud import blynk
      import hat
      import hat
      
      setScreenColor(0x000000)
      
      hat_ncir_0 = hat.get(hat.NCIR)
      
      pool_temp_pin = None
      pool_temp = None
      
      label1 = M5TextBox(93, 58, "Text", lcd.FONT_DejaVu56, 0xFFFFFF, rotate=90)
      title0 = M5Title(title="Title", x=30, fgcolor=0xFFFFFF, bgcolor=0x0000FF)
      
      def blynk_read_v1(v_pin):
        global pool_temp_pin, pool_temp
        pool_temp_pin = v_pin
        pool_temp = hat_ncir_0.temperature
        title0.setTitle('Pool Temp')
        label1.setText(str(pool_temp))
        blynk1.virtual_write(pool_temp, pool_temp)
      
        pass
      
      blynk1 = blynk.Blynk(token='1234567890')
      blynk1.handle_event('read v1', blynk_read_v1)
      while True:
        blynk1.run()
        wait_ms(2)
      
      posted in General
      C
      candide
    • RE: M5StickC + Issue: Cannot execute program after download

      I have rename the program and retried and eventually it worked! thanks

      posted in General
      C
      candide
    • RE: M5StickC + Issue: Cannot execute program after download

      Sure, here you go. I'm using the NCIR hat

      from m5stack import *
      from m5ui import *
      from uiflow import *
      import hat
      import hat
      
      setScreenColor(0x000000)
      
      hat_ncir_0 = hat.get(hat.NCIR)
      
      label1 = M5TextBox(93, 58, "Text", lcd.FONT_DejaVu56, 0xFFFFFF, rotate=90)
      title0 = M5Title(title="Title", x=30, fgcolor=0xFFFFFF, bgcolor=0x0000FF)
      
      while True:
        title0.setTitle('Pool Temp')
        label1.setText(str(hat_ncir_0.temperature))
        wait_ms(2)
      
      posted in General
      C
      candide
    • M5StickC + Issue: Cannot execute program after download

      Hello,
      I'm trying to execute a program which works fine in "live" mode.
      Here is a proof:
      https://imgur.com/hnCO0Zj
      Program OK in live Mode

      When i click "Download" in UIFlow, program goes to the m5 however when i click on the "Play" it does not execute.
      Do you know what I'm doing wrong?
      https://imgur.com/RtO18y2
      Program Does Not Execute

      posted in General
      C
      candide
    • Cannot execute program - stuck when trying to execute - works fine in "live" mode

      I go to the menu (v1.9.8) - AppList
      Here i find my program on the list and i click the Home (M5) button (i suppose this is this one to run the program)
      Then nothing happen. The interface stays there and nothing moves.

      https://imgur.com/RtO18y2

      When in coding/live mode in UIFlow program works great
      See: https://imgur.com/hnCO0Zj

      What am I doing wrong here? Thanks

      posted in M5 Stick/StickC
      C
      candide