Search found 116 matches

by shaoziyang
Mon Mar 13, 2017 8:19 am
Forum: ESP8266 boards
Topic: ESP01 Flashing Issue
Replies: 1
Views: 56

Re: ESP01 Flashing Issue

ESP-01 module has only 4Mbit flash (512KB), so flash_size will be set 4m.
by shaoziyang
Mon Mar 13, 2017 7:49 am
Forum: Programs, Libraries and Tools
Topic: elegant shutdown on battery
Replies: 3
Views: 99

Re: elegant shutdown on battery

You may read a user switch (or in a external interrupt), to pause ADC sample, then close file.
by shaoziyang
Sun Feb 26, 2017 5:49 am
Forum: Other Boards
Topic: My micropython keychain
Replies: 0
Views: 115

My micropython keychain

I have made some micropython keychain, it is very nice.

1.jpg
1.jpg (133.95 KiB) Viewed 101 times
by shaoziyang
Fri Feb 24, 2017 3:46 pm
Forum: Other Boards
Topic: REPL on STM32F429 DISC
Replies: 3
Views: 145

Re: REPL on STM32F429 DISC

Plug in usb in both USB, miniUSB for STlink and macroUSB for pyboard.
by shaoziyang
Thu Feb 23, 2017 9:33 am
Forum: ESP8266 boards
Topic: Reading VCC without external components
Replies: 7
Views: 254

Re: Reading VCC without external components

This may cause by your board.

In my board, ADC(0).read() is work, and ADC(1).read() return 65535
by shaoziyang
Thu Feb 23, 2017 8:49 am
Forum: ESP8266 boards
Topic: Reading VCC without external components
Replies: 7
Views: 254

Re: Reading VCC without external components

ESP8266's ADC is 10-bit, so value is 0-1023.

you may read it as ADC(0).read()
by shaoziyang
Fri Feb 10, 2017 4:26 am
Forum: Development of MicroPython
Topic: stm32l4 port and cmake
Replies: 9
Views: 287

Re: stm32l4 port and cmake

Thanks for that. I still have some problems with the stm32l4 port. If I use `dfu-util -a 0 -s :mass-erase:force -D firmware.dfu` then I no longer get the dir() hard fault. I can also see that on first boot the LEDs stay on for longer (presumably initialising the file system). Unfortunately though W...
by shaoziyang
Wed Feb 08, 2017 6:21 am
Forum: Development of MicroPython
Topic: stm32l4 port and cmake
Replies: 9
Views: 287

Re: stm32l4 port and cmake

Hi @shaoziyang, I just tried uploading a port to the STM32L476 discovery board that I ordered and it almost seems to work - unfortunately Windows is having a problem with the USB device (Invalid Device Desciptor, Code 43). I can't see immediately why this would have any problems while the pyboard w...
by shaoziyang
Sun Feb 05, 2017 8:54 am
Forum: Development of MicroPython
Topic: stm32l4 port and cmake
Replies: 9
Views: 287

Re: stm32l4 port and cmake

Hi all, Have just started using micropython and very keen to work on a port for the STM32Lxxx series (the low power range for ST). Any ideas about why this would be a bad idea or things to watch out for? I created a cmake build of the pyboard v11 at https://github.com/stiege/cmake_micropython ; it ...
by shaoziyang
Mon Jan 30, 2017 1:21 pm
Forum: Other Boards
Topic: SPIFLASH for STM32L476DISC Speed is very slow
Replies: 2
Views: 133

Re: SPIFLASH for STM32L476DISC Speed is very slow

2.jpg
2.jpg (19.21 KiB) Viewed 111 times


file copy speed is below 1KB/s.

Go to advanced search