bensense boardwalk program with pi pico > better version. Works
Pi pico boardwalk sensor using PicoW with AP network. Seems to work. Better version than bensensor() ones. Here's screen shot when all working: Below is a list of all the files copied into notepad.Also put into pastebin https://pastebin.com/itps554S minresponse3.py #min network web AP server from perplexity. import network import socket import machine import do_csv, do_log adcpin = 4 sensor = machine.ADC(adcpin) # Set up access point ap = network.WLAN(network.AP_IF) te ="" templ = "template1.html" #update when form changes led = machine.Pin("LED", machine.Pin.OUT) led.on() ap.config(essid='NAME', password='PASSWORD') ap.active(True) while not ap.isconnected(): pass print('AP Mode Is Active, You can Now Connect') print('IP Address To Connect to::', ap.ifconfig()[0]) # Set up socket addr = socket.getaddrinfo('0.0.0.0', 80)[0][-1] s = socket.socket() s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) #...