Skip to content

Instantly share code, notes, and snippets.

View konmaz's full-sized avatar

Konstantinos Mazgaltzidis konmaz

View GitHub Profile
konmaz /
Created April 17, 2023 20:44
Use a Raspberry Pi Pico W to send WoL magic packets
import network
import socket
import time
import urequests
from machine import Pin
import uasyncio as asyncio
import rp2'GR') # Set your country if you can't connect to your WiFi
led = Pin(15, Pin.OUT)