B4R Question Resetting ESP8266 - SOLVED

Discussion in 'B4R Questions' started by JMB, Nov 28, 2018.

  1. JMB

    JMB Active Member Licensed User

    Hi folks,

    I am writing code for an ESP8266 to allow it to essentially reset itself to a clear state - empty EEPROM, ready to receive new wireless network information from a command from a B4A program.

    Is there a command to call which will reboot the ESP? By this I don't mean factory reset, I just literally mean just a reboot.

    Thanks.

    JMB
     
  2. maXim

    maXim Active Member Licensed User

    Hi JMB,

    try this:


    Code:
    Dim ESP As ESP8266
    ESP.restart
     
    Erel likes this.
  3. JMB

    JMB Active Member Licensed User

    Oh wow... is it really that simple?

    Thank you very much! I shall check that out!

    JMB
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice