From 114cb4823abc6a1f41488a4d3142f7542bc120ff Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 15 Nov 2020 18:49:39 +0100 Subject: [PATCH] new d --- Readme.MD | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/Readme.MD b/Readme.MD index be1ba9a..03e2d06 100644 --- a/Readme.MD +++ b/Readme.MD @@ -2,10 +2,15 @@ MaxO v0.1 -OSC operations for ESP8266 + Max7219 matrixs led with micropython. +OSC operations for ESP8266 + Max7219 matrixs led with micropython. Need an ESP8266 on a local network with internet gateway at least for install. -Need an ESP8266 on a local network with internet gateway at least for install. +OSC commands : +/demo + +/cls + +/text 'sometext' Obviously change /dev/cu.usbserial-1D1310 with your serial port like /dev/tty.USB0 @@ -15,9 +20,13 @@ Obviously change /dev/cu.usbserial-1D1310 with your serial port like /dev/tty.US Connections wemos D1 mini https://docs.wemos.cc/en/latest/d1/d1_mini_lite.html 5V VCC + GND GND + D7 MOSI (GPIO13) DIN + D8 CS (GPIO15) CS + D5 SCK (GPIO14) CLK @@ -28,7 +37,10 @@ Download micropython firmware : https://micropython.org/resources/firmware/esp8266-1m-20200902-v1.13.bin esptool.py erase_flash -esptool.py --port /dev/cu.usbserial-1D1310 --baud 1000000 write_flash --flash_size=4MB -fm dio 0 PATHTO/esp8266-1m-20200902-v1.13.bin + +esptool.py --port /dev/cu.usbserial-1D1310 --baud 1000000 write_flash --flash_size=4MB -fm dio 0 + +PATHTO/esp8266-1m-20200902-v1.13.bin # install ampy @@ -46,19 +58,19 @@ in matrix9.py screen = max7219.Max7219(8, 32, spi, Pin(15)) -8 is x -32 is y (4 8x8 max7219) +8 is x. 32 is y (4 8x8 max7219) + # Transfer MaxO -ampy -p /dev/cu.usbserial-1D1310 put boot.py -ampy -p /dev/cu.usbserial-1D1310 put wlan.py -ampy -p /dev/cu.usbserial-1D1310 put netconf.py -ampy -p /dev/cu.usbserial-1D1310 put main.py -ampy -p /dev/cu.usbserial-1D1310 put maxserver.py -ampy -p /dev/cu.usbserial-1D1310 put max9.py -ampy -p /dev/cu.usbserial-1D1310 put max7219.py -ampy -p /dev/cu.usbserial-1D1310 put uosc +* ampy -p /dev/cu.usbserial-1D1310 put boot.py +* ampy -p /dev/cu.usbserial-1D1310 put wlan.py +* ampy -p /dev/cu.usbserial-1D1310 put netconf.py +* ampy -p /dev/cu.usbserial-1D1310 put main.py +* ampy -p /dev/cu.usbserial-1D1310 put maxserver.py +* ampy -p /dev/cu.usbserial-1D1310 put max9.py +* ampy -p /dev/cu.usbserial-1D1310 put max7219.py +* ampy -p /dev/cu.usbserial-1D1310 put uosc # Onboard install library via Internet