From 65176747029301949afd46199ae05ab1f9d0af72 Mon Sep 17 00:00:00 2001 From: Sam Neurohack Date: Wed, 6 Jan 2021 03:48:09 +0100 Subject: [PATCH] Basic hardware doc --- README.md | 11 ++++++++++- esp/leds.py | 3 +++ esp/lserver.py | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f630dc7..58ecbbe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,13 @@ midiOSCesp v0.1 -More soon. \ No newline at end of file +By Sam Neurohack + +ESP operations in micropython, we use : + +ESP 8266 from https://www.wemos.cc/en/latest/d1/d1_mini_lite.html +Micropython firmware (select v1.13 with the right RAM amount): https://micropython.org/download/esp8266/ +Flash firmware, upload python files, run files,... thonny IDE : https://thonny.org/ +Great tutorials : https://randomnerdtutorials.com/getting-started-thonny-micropython-python-ide-esp32-esp8266/ + +More soon... \ No newline at end of file diff --git a/esp/leds.py b/esp/leds.py index eae1124..f8753ea 100644 --- a/esp/leds.py +++ b/esp/leds.py @@ -1,3 +1,6 @@ +''' +test your strip. Change lednumber value +''' import time import machine, neopixel lednumber = 8 diff --git a/esp/lserver.py b/esp/lserver.py index 9d1acb6..64da095 100644 --- a/esp/lserver.py +++ b/esp/lserver.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- - +''' +Led data pin : D5 (GPIO14) +''' import sys, time import socket