GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rbp28668/WebNeopixel: Use a PicoW to control a neopixel (ws2812) grid using HTTP from a browser.

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
build/.cmake/api/v1
build/.cmake/api/v1
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
README.md
README.md
 
 
block_list.cpp
block_list.cpp
 
 
block_list.hpp
block_list.hpp
 
 
block_malloc.cpp
block_malloc.cpp
 
 
block_malloc.hpp
block_malloc.hpp
 
 
crc32.cpp
crc32.cpp
 
 
dma.cpp
dma.cpp
 
 
dma.hpp
dma.hpp
 
 
form.html
form.html
 
 
form.html.min
form.html.min
 
 
index.cpp
index.cpp
 
 
index.hpp
index.hpp
 
 
lwipopts.h
lwipopts.h
 
 
main.cpp
main.cpp
 
 
neopixel.cpp
neopixel.cpp
 
 
neopixel.hpp
neopixel.hpp
 
 
neopixel_webapp.cpp
neopixel_webapp.cpp
 
 
neopixel_webapp.hpp
neopixel_webapp.hpp
 
 
pico_sdk_import.cmake
pico_sdk_import.cmake
 
 
server.cpp
server.cpp
 
 
server.hpp
server.hpp
 
 
teapot.cpp
teapot.cpp
 
 
teapot.hpp
teapot.hpp
 
 
webapp404.cpp
webapp404.cpp
 
 
webapp404.hpp
webapp404.hpp
 
 
webserver.cpp
webserver.cpp
 
 
webserver.hpp
webserver.hpp
 
 
wifi.cpp
wifi.cpp
 
 
wifi.hpp
wifi.hpp
 
 
ws2812.pio
ws2812.pio
 
 

Repository files navigation

WebNeopixel

Use a PicoW to control a neopixel (ws2812) grid using HTTP from a browser.

Designed to control an Adafruit 8x8 RGBW grid. This uses the PicoW with wifi/tcp in raw polling mode. The webserver runs on core 0 and the Neopixel control on core 1.
Commands are passed by a simple queue.

Webserver

This is built on a generic web server (the classes ) The webserver software is layered: Many WebApps can be regiistered with the WebServer. The WebServer is a specialisation of SerrverApplication ServerApplication hides a lot of the underlying detail of the LwIP stack.

For memory allocation it uses a custom block pool in block_malloc and block_list to allow complex structures to be built up when parsing a web request.

Webapps

WebApps are simple classes - if they match a URL they get to process it. THere's

  • Neopixel webapp - sends commands to the neopixel engine running on core 1.
  • Teapot - responds to /coffee with 418 I'm a teapot.
  • Index - responds to / and /index URLs with a web page.

if there is no matching webapp the web server defaults to webapp404.

Misc

This uses DHCP to find an address and listens on port 80.

Note that WIFI_SSID and WIFI_PASSWORD need to be defined for this to build properly.

About

Use a PicoW to control a neopixel (ws2812) grid using HTTP from a browser.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.