Since my previous question got no answers, I shall attempt to make it much simpler to answer. A simple micropython web server tutorial used this code to see if a button was pressed:
Is there any alternative of this "request" command that just pulls what is send in the url, instead of looking for something specific?
Code: Select all
led_on = request.find('/?led=on')