Search found 490 matches

by mcauser
Sat Aug 22, 2020 1:23 pm
Forum: ESP8266 boards
Topic: 16M D1 Mini Pro + SDK 2.2.1
Replies: 4
Views: 531

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: 531

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: 531

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: 531

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: 601

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: 601

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: 561

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.
by mcauser
Wed Apr 22, 2020 5:36 am
Forum: Drivers for External Components
Topic: SSD1327 4-bit greyscale OLED displays
Replies: 6
Views: 2914

Re: SSD1327 4-bit greyscale OLED displays

Nice! I'll update the driver with support for this display.
by mcauser
Tue Apr 21, 2020 11:38 am
Forum: Drivers for External Components
Topic: SSD1327 4-bit greyscale OLED displays
Replies: 6
Views: 2914

Re: SSD1327 4-bit greyscale OLED displays

Give this a try: i2c = I2C(sda=Pin("Y8"), scl=Pin("Y6")) display = ssd1327.SSD1327_I2C(128, 128, i2c) # Unlock display.write_cmd(0xFD) display.write_cmd(0x12) # Display off display.write_cmd(0xAE) # Set column address 0-127 display.write_cmd(0x15) display.write_cmd(0x00) # was 0x08 on 96x96 ((128-wi...