Skip to content

Instantly share code, notes, and snippets.

View JoedaJoe101-Dev's full-sized avatar

JoedaJoe101 JoedaJoe101-Dev

View GitHub Profile
@aallan
aallan / async_webserver.py
Created July 4, 2022 15:38
An asynchronous webserver written in MicroPython to turn an LED on/off on a Raspberry Pi Pico W
import network
import socket
import time
from machine import Pin
import uasyncio as asyncio
led = Pin(15, Pin.OUT)
onboard = Pin("LED", Pin.OUT, value=0)