Search found 444 matches

by mcauser
Fri Mar 27, 2020 8:16 am
Forum: ESP32 boards
Topic: I2C OLED address not used
Replies: 2
Views: 55

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.
by mcauser
Fri Mar 20, 2020 8:59 am
Forum: ESP32 boards
Topic: JS libraries on flash memory
Replies: 8
Views: 424

Re: JS libraries on flash memory

To stop the client browser from making subsequent requests, add some cache headers to your large static scripts
by mcauser
Fri Mar 20, 2020 8:55 am
Forum: Other Boards
Topic: WeAct STM32F411CEU6 black pill with 64MBit external flash
Replies: 2
Views: 692

Re: WeAct STM32F411CEU6 black pill with 64MBit external flash

Code: Select all

#define MICROPY_HW_FLASH_LATENCY    FLASH_LATENCY_3
#define MICROPY_HW_HAS_FLASH        (1)
See: https://github.com/mcauser/WEACT_F411CE ... figboard.h
by mcauser
Mon Mar 09, 2020 8:51 pm
Forum: ESP32 boards
Topic: Espressif announces ESP32-S2
Replies: 3
Views: 921

Re: Espressif announces ESP32-S2

@seonr aka Unexpected Maker is making a ESP32-S2 ProS2 dev board. That's the hardware side covered. Not sure about software side.
https://youtu.be/EHSgbwd0Blk
by mcauser
Fri Mar 06, 2020 11:16 pm
Forum: ESP32 boards
Topic: Display image on a html page from main.py
Replies: 10
Views: 609

Re: Display image on a html page from main.py

You can base64 encode an image and embed it in the html. Saves multiple http requests.
Still need a http server to send the html to a browser.

Which web server did you try, which was considered too heavy?
We might be able to suggest some alternatives.
by mcauser
Thu Feb 20, 2020 11:13 pm
Forum: Other Boards
Topic: New STM32H743VIT6 dev boards
Replies: 25
Views: 1585

Re: New STM32H743VIT6 dev boards

I can replicate the problem now. It seems I'm missing these PPL3 defines (lifted from NUCLEO_H743ZI/mpconfigboard.h) // The USB clock is set using PLL3 #define MICROPY_HW_CLK_PLL3M (4) #define MICROPY_HW_CLK_PLL3N (120) #define MICROPY_HW_CLK_PLL3P (2) #define MICROPY_HW_CLK_PLL3Q (5) #define MICROP...
by mcauser
Thu Feb 20, 2020 1:43 am
Forum: Other Boards
Topic: New STM32H743VIT6 dev boards
Replies: 25
Views: 1585

Re: New STM32H743VIT6 dev boards

It builds fine for me on the latest (head) version. Maybe try recompiling the cross compiler?

Code: Select all

cd micropython
make -C mpy-cross
cd ports/stm32
make submodules
make BOARD=MCUDEV_DEVEBOX_H7XX_M clean
make BOARD=MCUDEV_DEVEBOX_H7XX_M
by mcauser
Mon Feb 17, 2020 6:19 am
Forum: Drivers for External Components
Topic: Drivers for EEPROM, FRAM and Flash chips
Replies: 3
Views: 842

Re: Drivers for EEPROM, FRAM and Flash chips

I have a bunch of old chips to test against: EEPROM AT24C01A 1K I2C DIP8 AT24C02N 2K I2C DIP8 AT24C04A 4K I2C DIP8 AT24C08 8K I2C DIP8 AT24C16 16K I2C DIP8 AT24C32A 32K I2C DIP8 AT24C64N 64K I2C DIP8 AT24C128 128K I2C DIP8 AT24C256 256K I2C DIP8 ST24C16CB1 16K I2C DIP8 24LC512 512K I2C DIP8 P24C256 ...
by mcauser
Fri Feb 14, 2020 3:22 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 143
Views: 52916

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hi @Sniper. Is this necessary in the code? import machine and import time, import Pin? Unless your boot.py or main.py imports machine, you'll need to do it before you can use it. Otherwise you'll get a NameError. import time lets you use time.sleep() . Without it, time won't exist (in the variable s...
by mcauser
Thu Feb 13, 2020 10:40 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 143
Views: 52916

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hi @Sniper There are many different dev boards which use the STM32F4xx series cpus. They each share the same pins for analog, digital, PWM, UART, I2C, SPI etc. If you can find similar boards with better documentation, some of the info may still be relevant. All of the pins support digital IO, and so...