MicroPython Morse Code
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
morsecode.py

README.md

MicroPython Morse Code

Blink an LED with morse coded message

Example main.py

Blink the last 3 digits of device's IP address

import morsecode
import network

while True:
  # get last 3 digits of IP address
  s = network.WLAN().ifconfig()[0].split('.')[3] + ' '

  # send morse code
  morsecode.send(s)