what happened if you don't use Switch Button. I'm using STM32F407 on my modified Board similar to Discovery Board without Switch.
Before built, i've disabled has_switch to 0 on mpconfig, I think, it would nothing happen if you press ctrl +c during while loop without using switch button there.
i have tested recent build of micropython on STM32F407 Discovery Board, Unfortunately the KeyboardInterrupt 'ctrl+c' does not work, no effect. The build about 3 weeks ago, it worked well. I've using minicom on OSX10.5
LOL , i have still connected BOOT0 to VDD. now it works thanks!! Welcome to minicom 2.7 OPTIONS: Compiled on Oct 17 2015, 05:42:37. Port /dev/tty.usbmodem6442, 21:03:14 Press Meta-Z for help on special keys MicroPython v1.8.2-77-gbc39129 on 2016-07-31; F4DISC with STM32F407 Type "help()" for more in...
i've deployed as you suggest make USE_PYDFU=0 BOARD=STM32F4DISC deploy Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Writing build-STM32F4DISC/firmware.dfu to the board dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010...
That should no longer be the case. The PWM LED support is now configurable, and the STM32F4DISC board definition doesn't enable PWM for any of the LEDs, so all of the timers should be available. Are you using recent firmware? Thanks for reply. i'm using "Micro Python v1.4.4-11-gc8870b7-dirty". I ju...
Hello, i'm trying to understand the write and read sequence of I2C implementiation on micropython and i would implement the following write and read sequence of an sensor on the image. read.png i2c.mem_write(0x47, 0b1010000, 0x90) i2c.send(0xFF, 0b1010000) write.png i2c.mem_write(0x47, 0b1010000, 0x...