Schritt 3: ESPlorer
ESPlorer Esta En Java Por lo Que Puede Ejecutarse En jederzeit Sistema Operativo Siempre y Cuando Tengamos Instalado la Maquina virtuelle de Java, Pueden Descargarlo De La Siguiente Pagina
https://github.com/nodemcu/nodemcu-Firmware
Lo Primero Que Debemos Hacer al SBA ESPlorer es Seleccionar el Puerto de el Que Esta el ESP8266 y Abrirlo, Podremos Ver un Texto Que Nein Indica la Versión del Firmware o Que Fue Detectado
Copiamos y Pegamos el Siguiente Ejemplo de el IDE y Cargamos al ESP8266 Con el Boton "save to ESP" con Eso ya Estará Cargado En Nuestro ESP8266
Repositorio: https://github.com/sabas1080/ESP8266/tree/master/simple-oled-spi-example_lua
--SPI einrichten und verbinden anzeigen < Br > Funktion init_spi_display() -- setup SPI and connect display<br>function init_spi_display() -- Hardware SPI CLK = GPIO14-->SCL OLED -- Hardware SPI MOSI = GPIO13-->SDA OLED -- Hardware SPI MISO = GPIO12 (not used) -- CS, D/C, and RES can be assigned freely to available GPIOs cs = 8 -- GPIO15, pull-down 10k to GND dc = 4 -- GPIO2 --> D/C OLED res = 0 -- GPIO16 --> RST OLED
spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, spi.DATABITS_8, 0) disp = u8g.ssd1306_128x64_spi(cs, dc, res) end
function xbm_picture() disp:setFont(u8g.font_6x10) disp:drawStr( 62, 10, "The") disp:drawStr( 62, 30, "Inventor's") disp:drawStr( 62, 60, "House") disp:drawXBM( 0, -5, 60, 60, xbm_data ) end --Converter Image to *.Mono with --http://www.online-utility.org/image_converter.jsp?outputType=MONO function bitmap_test(delay) file.open("prueba.MONO", "r") xbm_data = file.read() file.close()
disp:firstPage() repeat xbm_picture() until disp:nextPage() == false
tmr.wdclr() end
init_spi_display() bitmap_test()
Con Este Ejemplo Ustedes Podrán Mostrar jederzeit Imagen de Su Pantalla OLED-Pero keine Podemos Subir la Imagen al modulo Wifi En fürMato PNG o JPG, el fürMato En el Que deben Estar las Imágenes es. MONO Para Esto lo Haremos con la Siguiente Herramienta online
http://www.Online-Utility.org/image_converter.jsp...
Primero Elegimos el fürMato, Luego Presionamos el Botón "Format auswählen" con Eso Debemos Seleccionar la Imagen Que Queremos Convertir y Presionar el Botón "Convertir y Descargar" Una Vez Hecho Eso En Nuestro ESPlorer Presionamos el Botón "hochladen" y Seleccionamos el la Imagen. MONO Que lexicale Subir, Reiniciamos el modulo y Deberá Aparecer Algo Así Como esto