Search found 492 matches

by mcauser
Sat Aug 22, 2020 2:04 pm
Forum: ESP8266 boards
Topic: how to show image in lcd display
Replies: 1
Views: 968

Re: how to show image in lcd display

Here's how you draw some random colours. >>> import random >>> for i in range(400): >>> display.write(None, bytearray([random.getrandbits(8)])) You use display.write(command=None, data=your-bytes) to send pixel data to the display. To understand what it is doing, try writing the same 2 bytes, hundre...
by mcauser
Sat Aug 22, 2020 1:23 pm
Forum: ESP8266 boards
Topic: 16M D1 Mini Pro + SDK 2.2.1
Replies: 4
Views: 1026

Re: 16M D1 Mini Pro + SDK 2.2.1

Quick Fix ™ for 16MB ESP8266 * Download and unzip: https://github.com/espressif/ESP8266_NONOS_SDK/archive/v2.2.1.zip * Grab the /bin/esp_init_data_default_v08.bin * make clean / make / make deploy * Write the esp_init_data_default_v08.bin: esptool.py --port /dev/tty.SLAB_USBtoUART --baud 460800 writ...
by mcauser
Sat Aug 22, 2020 1:18 pm
Forum: ESP8266 boards
Topic: 16M D1 Mini Pro + SDK 2.2.1
Replies: 4
Views: 1026

Re: 16M D1 Mini Pro + SDK 2.2.1

Tried flashing latest MicroPython to my 4M D1 mini (with SDK 2.2.1). Worked fine. LINK build-GENERIC/firmware.elf text data bss dec hex filename 616260 1020 66504 683784 a6f08 build-GENERIC/firmware.elf Create build-GENERIC/firmware-combined.bin esptool.py v2.8 Creating image for ESP8266... flash 33...
by mcauser
Sat Aug 22, 2020 1:13 pm
Forum: ESP8266 boards
Topic: 16M D1 Mini Pro + SDK 2.2.1
Replies: 4
Views: 1026

Re: 16M D1 Mini Pro + SDK 2.2.1

Output of make deploy on 16MB D1 mini pro: make PORT=/dev/tty.SLAB_USBtoUART deploy ... LINK build-GENERIC/firmware.elf text data bss dec hex filename 616260 1020 66504 683784 a6f08 build-GENERIC/firmware.elf Create build-GENERIC/firmware-combined.bin esptool.py v2.8 Creating image for ESP8266... fl...
by mcauser
Sat Aug 22, 2020 1:00 pm
Forum: ESP8266 boards
Topic: 16M D1 Mini Pro + SDK 2.2.1
Replies: 4
Views: 1026

16M D1 Mini Pro + SDK 2.2.1

Trying to flash the latest MicroPython to a 16M Wemos D1 Mini Pro. Hit a problem where it would get stuck in a boot loop. Initially, I thought it was a problem with make deploy not including the write esp_init_data_default.bin to 0xffc000 in the esptool.py command, like I had done manually before. W...
by mcauser
Sat Aug 22, 2020 2:55 am
Forum: ESP8266 boards
Topic: ets_delay_us uint16_t changed to uint32_t in >= SDK 2.2.x [SOLVED]
Replies: 4
Views: 730

Re: ets_delay_us uint16_t vs uint32_t

Full error: Mikes-MacBook-Pro:esp8266 mike$ make Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. GEN build-GENERIC/genhdr/mpversion.h GEN build-GENERIC/genhdr/qstr.i.last GEN build-GENERIC/genhdr/qstr.split GEN build-GENERIC/genhdr/qstrdefs.collected.h QSTR updated...
by mcauser
Sat Aug 22, 2020 2:54 am
Forum: ESP8266 boards
Topic: ets_delay_us uint16_t changed to uint32_t in >= SDK 2.2.x [SOLVED]
Replies: 4
Views: 730

ets_delay_us uint16_t changed to uint32_t in >= SDK 2.2.x [SOLVED]

On a fresh macOS Mojave install, with pfalcon's esp-open-sdk built in a case sensitive dmg with VENDOR_SDK = 2.2.1 I hit an issue when trying to make in /ports/esp8266. ./etshal.h:9:6: error: conflicting types for 'ets_delay_us' void ets_delay_us(uint16_t us); If I change it to uint32_t it works. In...
by mcauser
Sun May 03, 2020 10:18 pm
Forum: Drivers for External Components
Topic: Do ILI Chip Displays Allow You To Change Bits Per Pixel?
Replies: 1
Views: 639

Re: Do ILI Chip Displays Allow You To Change Bits Per Pixel?

Normally they support writing RGB666, RGB565 or RGB444 after a few init commands.
I usually use RGB565 as it fits 1 pixel in 2 bytes, making writes faster and I often don’t need the extra colour precision of RGB666.