write config file from web server help



  • Hi All,

    Have a wipy 3 running a program gathering sensor readings. the values update in a webapp locally and everything is working well now. I would like to make a new html page with some settings to write to a file. Then the main.py program will read the setting on a restart and use these values. does anyone have some examples or how to do this? I have limited knowledge of this and was playing with javascript but now sure how to write to a file on wipy in a certian folder or location /flash/config.txt or something. any help or examples would be appreciated.


 

Pycom on Twitter