If you not set addr parameter in LCD1602, it will auto detect address. You may try
i2c = I2C(1, sda=Pin(12), scl=Pin(14))
LCD = LCD1602(i2c, 39)
Search found 363 matches
- Sat Jul 04, 2020 2:10 am
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12966
- Mon Jun 22, 2020 3:28 pm
- Forum: Programs, Libraries and Tools
- Topic: irqUART: UART with rxd irq and frame irq
- Replies: 0
- Views: 1697
irqUART: UART with rxd irq and frame irq
machine.UART is not support RXD irq feature, it will brings some difficulties to uart programming in some cases. irqUART give a alternative solutionuse, it use pin irq instead of uart irq. irqUART is simple, small and fast. irqUART was tested on pyboard and esp32. demo.jpg Usage define user RXD irq,...
- Wed Jun 17, 2020 1:41 am
- Forum: Other Boards
- Topic: STM32L476 wakeup by PA0 from deepsleep
- Replies: 2
- Views: 2010
Re: STM32L476 wakeup by PA0 from deepsleep
You need set EWUP1 bit in registry PWR_CR3.
Code: Select all
import stm
A0 = Pin('A0', Pin.IN, pull=Pin.PULL_DOWN)
stm.mem32[stm.PWR+0x08] |= 1
- Tue Jun 16, 2020 8:07 am
- Forum: ESP32 boards
- Topic: Esp32-S2 port
- Replies: 4
- Views: 5031
- Wed May 27, 2020 12:43 am
- Forum: micro:bit boards
- Topic: memory allocation error when file size reduces
- Replies: 7
- Views: 6420
Re: memory allocation error when file size reduces
The most problem for microbit is ramsize, so don't run complex task on it.
And you may try to simplify program functions and modules code to save memory.
And you may try to simplify program functions and modules code to save memory.
- Tue May 26, 2020 12:53 am
- Forum: micro:bit boards
- Topic: memory allocation error when file size reduces
- Replies: 7
- Views: 6420
Re: memory allocation error when file size reduces
Yes, the loading order will do affect, maxiam loading size is less than half of the free memory, so loading large file first.
- Mon May 25, 2020 1:12 am
- Forum: micro:bit boards
- Topic: memory allocation error when file size reduces
- Replies: 7
- Views: 6420
Re: memory allocation error when file size reduces
microbit's ram size and flash size is small, so if import too many modules or large modules, it will cause memory error. You may try remove some unused code, use tab instead of leading blanks to save memory. To improve the calculation accuracy of altitude, it is necessary to sample many times and ca...
- Fri May 22, 2020 1:38 am
- Forum: General Discussion and Questions
- Topic: issues with wakeup_X1
- Replies: 3
- Views: 2483
Re: issues with wakeup_X1
You can set the WKUP mode by modify PWR register EWUP bit directly.
- Mon May 18, 2020 6:41 am
- Forum: ESP32 boards
- Topic: Mounting SD Card on ESP-WROOM-32 using SD/MMC hardware.
- Replies: 7
- Views: 5544
Re: Mounting SD Card on ESP-WROOM-32 using SD/MMC hardware.
pyESP32 is make by myself, use ESP32-WROVER with 4M psram.
- USB type-c interface
- USB power and charge
- High efficiency DC/DC power supply
- on board USB/TTL converter
- one click upgrade firmware
- microSD slot
- low cost
- open hardware
- Mon May 18, 2020 12:41 am
- Forum: ESP32 boards
- Topic: Mounting SD Card on ESP-WROOM-32 using SD/MMC hardware.
- Replies: 7
- Views: 5544