Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. yuza_tipo
    3. Posts
    Y
    • Continue chat with yuza_tipo
    • Start new chat with yuza_tipo
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by yuza_tipo

    • RE: <LAN Module with W5500 V12> - How to assign a fixed IP(static IP)(no-DHCP) address in Blockly or MicroPython?

      Thank you for your prompt reply... @felmue

      The example you posted [https://community.m5stack.com/topic/4376/] helped me get started with this module.
      #UiFlow built-in sample was not a core2 compatible screen and did not work. :-(

      I tried [lan.get_if_config()] you suggested with the shell of [Windows 10, Thonny(v4.0.0.b3)].

      0_1660820335050_12120.png

      While doing other trial and error, It seems that [libs/ethernet/wiznet5k.py] and [libs/ethernet/wiznet5k_dhcp.py] were running behind [lan = module.get(module.LANBASE)].

      If we can operate here directly..., can't you read [libs/ethernet/wiznet5k.py]? :-<

      Thank you,
      yuza_tipo

      posted in Modules
      Y
      yuza_tipo
    • <LAN Module with W5500 V12> - How to assign a fixed IP(static IP)(no-DHCP) address in Blockly or MicroPython?

      Background:
      platform: Windows 10
      code framework: UiFlow(v1.9.5)

      M5Stack: M5Stack core2 for AWS(firm: UiFlow core2 v1.10.3)
      module: LAN(SKU: K012-B-V12)

      Hello everyone!
      Using M5Stack core2 and LAN module, I am trying to remotely control a machine with a fixed IP address in the factory with a 1:1 wired LAN connection.

      Question:
      Is it possible to assign a fixed IP address in Blockly or MicroPython to the LAN module?

      0_1660733093633_ss12106.png

      Even if I select [Modules->LAN_Base->Init block] to initialize the LAN module in Blockly, No Python code is generated to assign a fixed IP.

      0_1660733430444_ss12110.png

      Thank you,
      yuza_tipo

      posted in Modules
      Y
      yuza_tipo