Search found 7 matches

by nirtz89
Sat May 29, 2021 8:59 pm
Forum: ESP8266 boards
Topic: ESP8266 CH340G MAX7219 not displaying correctly
Replies: 2
Views: 543

ESP8266 CH340G MAX7219 not displaying correctly

Hi everyone, I have an ESP8266 CH340G, I'm connecting a MAX7219 to it to display stuff on it, but it's all messy. This is the simple code: from machine import Pin, SPI, Timer, reset import max7219 import utime spi = SPI(1, baudrate=10000000) display = Max7219(32, 8, spi, Pin(15)) display.text('TEST'...
by nirtz89
Sat May 22, 2021 2:18 pm
Forum: ESP8266 boards
Topic: MicroPython library for HID (Keyboard) for ESP8266?
Replies: 2
Views: 494

Re: MicroPython library for HID (Keyboard) for ESP8266?

Disappointing, but thanks for the quick and helpful reply!
by nirtz89
Sat May 22, 2021 2:02 pm
Forum: ESP8266 boards
Topic: MicroPython library for HID (Keyboard) for ESP8266?
Replies: 2
Views: 494

MicroPython library for HID (Keyboard) for ESP8266?

Hi, is there a library that works for MicroPython that makes the esp8266 acts as an HID for passing inputs into the host machine? (PC)
Thanks!
by nirtz89
Sun May 09, 2021 9:18 am
Forum: ESP8266 boards
Topic: Showing image with OLED and bytearray looks weird
Replies: 2
Views: 899

Re: Showing image with OLED and bytearray looks weird

What is framebuf.MVLSB ? I'd expect framebuf.MONO_VLSB . Replace with MONO_VSLB, still shows the same weird image. Maybe my bytearray is not ok? I think my problem is with the byte array, because this: buffer = bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...
by nirtz89
Sat May 08, 2021 10:22 am
Forum: ESP8266 boards
Topic: Showing image with OLED and bytearray looks weird
Replies: 2
Views: 899

Showing image with OLED and bytearray looks weird

So this is my code: buffer = bytearray(b'\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x80\0x00\0x80\0x00\0x00\0x00\0x40\0x00\0x40\0x00\0x40\0x00\0x40\0x00\0x40\0x00\0x40\0x00\0x80\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x0C\0x00\0x00\0x04\0x01\0x0...
by nirtz89
Sat May 01, 2021 9:20 pm
Forum: ESP8266 boards
Topic: ImportError: no module named 'urequests'
Replies: 3
Views: 1815

Re: ImportError: no module named 'urequests'

The 1M firmware does not include urequests by default. You can add it manually to your file system by copying in this file: into the directory lib: https://github.com/micropython/micropython-lib/blob/master/urequests/urequests.py You may also need this one into a directory called lib/urllib.ureques...
by nirtz89
Sat May 01, 2021 7:45 pm
Forum: ESP8266 boards
Topic: ImportError: no module named 'urequests'
Replies: 3
Views: 1815

ImportError: no module named 'urequests'

Hi everyone, I used my ESP8266 with MicroPython and everything worked great so far (so much better than Arduino :D) I now want to start using API calls and all the tutorials suggest using `urequests`, however, when I try to import the library I get: ImportError: no module named 'urequests' I tried f...