Commit graph

3 commits

Author SHA1 Message Date
Yvan
a77576b26a IT WORKS! OK, for small values of works, and the code is a mess.
I just got a SDC40 CO2 PPM sensor in the post and I wanted to give that
some basic verification testing... so I hooked it up to the Pico W and
and found a libscd Rust library. I got this successfully reading data,
but then I wanted to get that data available to serve via a HTTP
request. This took a long time to work out... days 2 to 5 of my Rust
journey thus far.

This checkin is lilted with all the detritus of the learning process,
lots of commented out failed attempt code... next job is to clean up the
state of it before further implementation.
2025-03-16 23:02:06 +00:00
Yvan
bd9389cfd5 The Pico W now serves a basic HTML page.
This has not been so simple. The only way I could find to make picoserve
and embassy compatible was to get a local copy of picoserve and change
its embassy dependencies to use git as their source. Otherwise there are
conflicts about embassy-timer-driver versions. Using picoserve also
required changing my Rust "channel" to "nightly". A bunch of stuff I
am not keen on, but necessary to progress rather than get bogged down in
build system meta.

Meanwhile also I've changed this to use a static IP at 192.168.3.14 for
now. For currently unknownr reasons the loop waiting for the DHCP lease
to work isn't exiting. I have rebooted the DHCP server and that didn't
help and given the WiFi on the Pico W is working I don't really know
whats up.
2025-03-14 17:42:07 +00:00
Yvan
dd75b23619 Checking in initial baseline for project based on a combo
of Rust templates and content from the embassy project
and including my initial merging of the wifi_tcp_server,
usb_serial, and blinky sample code.
2025-03-13 13:28:48 +00:00