Search found 9 matches

by JohnLittle
Sun Jul 21, 2019 4:53 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 45874

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Wow, that's amazing, thanks for doing this! I wonder if jupyter + micropython can be shared somehow to avoid duplicating work, I seem to have typed exactly the same thing. For reference, help(stm) outputs the following (see below), so the register address is stm.RCC_AHB3ENR and FSMEN (according to t...
by JohnLittle
Sun Jul 21, 2019 7:37 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 45874

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hey @OutoftheBOTS_ a native solution based on your C code would of course be the best solution, but would a micropython implementation be fast enough to get started? I've been playing with jupyter notebook + micropython remote ( + vim-binding ) and have started converting your code. This is way more...
by JohnLittle
Wed Jul 17, 2019 10:14 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 45874

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Wow, thanks guys, today I learn! I also found a stm32duino thread after @mcauser mentioned FSMC. @OutoftheBOTS_ -- Super useful video thanks, I wasn't aware there was any kind of processing involved to get an accurate position out of the touchscreen, so there you go, something else I learned! I have...
by JohnLittle
Wed Jul 17, 2019 9:41 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 45874

Re: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards

Hey mcauser, I just got the LCD module for the BLACK_F407VE board from Aliexpress and was wondering if you had any thoughts regarding driving it from micropython (and reading the touch screen)? And the reason why I needed the sdcard to work on BLACK_F407VE is that the filesystem is about to get real...
by JohnLittle
Tue Jul 16, 2019 9:52 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 134
Views: 45874

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Hey @okwatts, just got the sdcard working I think. I modified ports/stm32/sdcard.c as per @lmamakos's instructions https://forum.micropython.org/viewtopic.php?f=12&t=3086#p18286 // configure the SD card detect pin // we do this here so we can detect if the SD card is inserted before powering it on #...
by JohnLittle
Sun Apr 07, 2019 3:13 pm
Forum: General Discussion and Questions
Topic: Porting the kilo text editor as a micropython module (work in progress)
Replies: 2
Views: 362

Re: Porting the kilo text editor as a micropython module (work in progress)

Thanks Robert, it was definitely on my TODO list to try and test your editor. I am completely new to micropython development, so one of the reason I went with the kilo editor was to learn about developing modules in C. A single file (kilo.c) made this relatively painless. It'll be interesting to com...
by JohnLittle
Sun Apr 07, 2019 12:58 pm
Forum: General Discussion and Questions
Topic: Porting the kilo text editor as a micropython module (work in progress)
Replies: 2
Views: 362

Porting the kilo text editor as a micropython module (work in progress)

I was looking for a small text editor that I could integrate with micropython as a C module and found kilo http://antirez.com/news/108 Someone in the comments even talks about running it on a microcontroller and gives pointers to reducing its memory footprint. For now, I've only tested this on the u...
by JohnLittle
Sat Nov 10, 2018 9:03 pm
Forum: ESP8266 boards
Topic: [SOLVED] unable to get REPL prompt
Replies: 17
Views: 6438

Re: [SOLVED] unable to get REPL prompt

Sorry to be resurrecting yet another old thread! I bought a few "CH340G NodeMcu Wireless WIFI Module Connector Board Replace ESP-12E ESP8266 UK" off ebay and was not able to flash them without adding --flash_mode=dout The board is labelled "HW-628 V1.1" and comes with a 4MB flash memory chip. My esp...
by JohnLittle
Mon Oct 08, 2018 7:34 pm
Forum: General Discussion and Questions
Topic: CET time
Replies: 2
Views: 4115

Re: CET time

Hi all, I know this thread started a long time ago, but here is my solution based on JumpZero's code. Sorry, bbcode is off for my account (maybe off for new users?), I'll prettify this when I work out how :) So basically, I call my sync_ntp() function every 15 minutes to synchronise utime.localtime(...