Search found 507 matches

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

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: 6
Views: 18874

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: 6
Views: 18874

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

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: 10
Views: 39721

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: 10
Views: 39721

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...
by mcauser
Tue Apr 21, 2020 10:41 am
Forum: Drivers for External Components
Topic: SSD1327 4-bit greyscale OLED displays
Replies: 10
Views: 39721

Re: SSD1327 4-bit greyscale OLED displays

Should be an easy fix with some init registers. I’ll take a look at some of the Arduino drivers and let you know what needs to change
by mcauser
Tue Apr 21, 2020 12:15 am
Forum: Other Boards
Topic: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs
Replies: 8
Views: 7762

Re: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs

If you have that DevEBox board, that little W25Q16 chip above the micro SD slot is the 16MB SPI Flash. It's wired to SPI1, leaving SPI2 and 3 free for use by other devices. It's CS pin is exposed on A15, so you could have other SPI devices on the SPI1 bus.
by mcauser
Mon Apr 20, 2020 3:15 am
Forum: Other Boards
Topic: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs
Replies: 8
Views: 7762

Re: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs

On the F411 board , I demonstrated in the readme attaching an external W25Q128 16MB SPI flash module. The particular breakout I was using only supported SPI mode, instead of the faster QSPI mode. Still, 4, 8 or 16MB more to play with. In mpconfigboard.h you can toggle between using the onboard flash...