Skip to content

Commit

Permalink
Merge pull request #10 from gurgleapps/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mirkin authored Mar 16, 2024
2 parents 5be5b19 + c0941c3 commit b767c6e
Show file tree
Hide file tree
Showing 29 changed files with 1,720 additions and 160 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mpy_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
rm -rf mpy
mkdir mpy
find . -maxdepth 1 -name "*.py" ! -name "main.py" ! -name "config.py" -exec sh -c './micropython/mpy-cross/build/mpy-cross {} -o mpy/$(basename -s .py {}).mpy' \;
find src/. -maxdepth 2 -name "*.py" ! -name "main.py" ! -name "config.py" -exec sh -c './micropython/mpy-cross/build/mpy-cross {} -o mpy/$(basename -s .py {}).mpy' \;
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src/config.local.py
build/node_modules
.DS_Store
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ The latest features include improved memory usage, support for additional microc
- Serve static and dynamic web pages from your Raspberry Pi Pico
- Run Python functions on your microcontroller device from a web browser
- Create dynamic web pages with live data from your Pico or other Microcontroller
- Run as ACcess Point (AP) or connect to your Wi-Fi network
- Blink the IP address using the built-in LED, handy when you're out in the field with no screen or computer
- Display a file and folder list of your root directory with an attractive and responsive user interface
- End-to-end examples showcasing various functionalities
- Easily customizable codebase
- Support for ESP8266 and ESP32 microcontrollers


## Setup

1. Make sure you have MicroPython on your Pico
2. Clone this repository
3. Copy the code to your Pico
3. Copy the code from the /src folder to your Pico
4. Edit `config.py` with your Wi-Fi details and IP blink options:
- `WIFI_SSID`: Set this to your Wi-Fi network SSID (e.g., `"your_wifi_ssid"`)
- `WIFI_PASSWORD`: Set this to your Wi-Fi network password (e.g., `"your_wifi_password"`)
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
(cd build && npm run build-css)
Loading

0 comments on commit b767c6e

Please sign in to comment.