Chat freely about anything...

User avatar
By CodeIt
#33259 What am I doing wrong? I would like to control two relais using my NodeMCU dev board with this firmware. I have succesfully flashed the firmware and i can connect to it on port 24. I have set GPIO 0 and GPIO 1 to output using the command:
Code: Select allgm 0 output 0
gm 1 output 0

I get a prompt with the correct settings. After this i do:
Code: Select allconfig-write
reset

After reconnecting i do a 'gd' to see the configuration, but all ports are disabled. What am i missing?
User avatar
By eriksl
#33284 Yes, correctly noted. It's not a bug but a "feature". I am not sure I want to keep it that though. For most configurations your changes are applied immediately and you need to write them to config to make them stick. For I/O modes, it's the other way around. If you change anything to the I/O modes, it's written to flash immediately, but not applied. This allows you to change multiple GPIO's that may be related and need to be configured at the same time. After you're finished with the last, just reset, don't write. If you write, the current settings will be written, and they don't include the mode changes you just made.

Like I said, I am considering to change this behaviour, but it's a bit complex.
User avatar
By CodeIt
#33639 Thanks for the reply. It is a bit odd indeed. Altough after setting the gpio mode it states to reset the device instead of write-config and reset.
Got it working now!
User avatar
By RaptorRed
#35638 Hey im trying to use the bootstrap mode to connect to a Wifi SSID with spaces in it, and am not able to change it (work) is there anyway round this ?