Search found 492 matches
- Wed Apr 22, 2020 5:36 am
- Forum: Drivers for External Components
- Topic: SSD1327 4-bit greyscale OLED displays
- Replies: 6
- Views: 3197
Re: SSD1327 4-bit greyscale OLED displays
Nice! I'll update the driver with support for this display.
- Tue Apr 21, 2020 11:38 am
- Forum: Drivers for External Components
- Topic: SSD1327 4-bit greyscale OLED displays
- Replies: 6
- Views: 3197
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...
- Tue Apr 21, 2020 10:41 am
- Forum: Drivers for External Components
- Topic: SSD1327 4-bit greyscale OLED displays
- Replies: 6
- Views: 3197
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
- Tue Apr 21, 2020 12:15 am
- Forum: Other Boards
- Topic: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs
- Replies: 8
- Views: 2435
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.
- Mon Apr 20, 2020 3:15 am
- Forum: Other Boards
- Topic: [Blackpill STM32F407 / SZM32F411] Available Flash Memory for Programs
- Replies: 8
- Views: 2435
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...
- Thu Apr 09, 2020 4:34 am
- Forum: Drivers for External Components
- Topic: MCP23017 16-bit IO Expander
- Replies: 6
- Views: 2157
Re: MCP23017 16-bit IO Expander
It fits on my ESP8266 (4MB Wemos D1 Mini) running MicroPython v1.12-337, on both FAT and Littlefs v2 The mcp23017.py file takes up 16k. If I convert all those spaces to tabs, it takes up 13k. Cross compile it and upload as mcp23017.mpy and it takes up 4k. from machine import Pin, I2C import mcp23017...
- Wed Apr 08, 2020 7:19 am
- Forum: Drivers for External Components
- Topic: MCP23017 16-bit IO Expander
- Replies: 6
- Views: 2157
Re: MCP23017 16-bit IO Expander
I have an ESP8266 handy. I'll try to make it fit.
Those pins are fine for I2C, however, you'll need some pull ups.
Consider using D3 and D4 as they already have 10k's (to set the correct boot mode). Side effect is, D4 is also used by the LED so it will flicker on data. Maybe use it for the I2C clock.
Those pins are fine for I2C, however, you'll need some pull ups.
Consider using D3 and D4 as they already have 10k's (to set the correct boot mode). Side effect is, D4 is also used by the LED so it will flicker on data. Maybe use it for the I2C clock.
- Tue Apr 07, 2020 9:28 pm
- Forum: Drivers for External Components
- Topic: MCP23017 16-bit IO Expander
- Replies: 6
- Views: 2157
Re: MCP23017 16-bit IO Expander
Hi @dentex, While creating the driver, I came up with 3 interfaces and I was going pick the most useful and maybe retire the others, or make alternate versions, so you can pick the one that works best for your needs. 1. The list interface, where each item represents a pin and has methods for reading...
- Fri Mar 27, 2020 8:16 am
- Forum: ESP32 boards
- Topic: I2C OLED address not used
- Replies: 2
- Views: 624
Re: I2C OLED address not used
Here it is:
https://github.com/micropython/micropyt ... 06.py#L105
0x3c is decimal 60.
If you want to use two of these displays on the same i2c bus, check if the oled module has any address select resistors on the back.
https://github.com/micropython/micropyt ... 06.py#L105
0x3c is decimal 60.
If you want to use two of these displays on the same i2c bus, check if the oled module has any address select resistors on the back.
- Fri Mar 20, 2020 8:59 am
- Forum: ESP32 boards
- Topic: JS libraries on flash memory
- Replies: 8
- Views: 1442
Re: JS libraries on flash memory
To stop the client browser from making subsequent requests, add some cache headers to your large static scripts