Search found 380 matches

by SpotlightKid
Tue Jun 04, 2019 2:56 pm
Forum: Other Boards
Topic: Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 80
Views: 33436

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

I was wondering if anyone had implemented it in the firmware with a FAT system so that the standard python file handing functions could be used Not a firmware, but an integration into the MicroPython VFS via Python: https://forum.micropython.org/viewtopic.php?p=22478&sid=134947f7ca978bac7192910b0e7...
by SpotlightKid
Tue Jun 04, 2019 1:32 pm
Forum: ESP32 boards
Topic: ESP WROOM 32 urequests POST to Google Forms
Replies: 11
Views: 296

Re: ESP WROOM 32 urequests POST to Google Forms

I wrote a Github gist on the topic of making POST request with form-encoded params with urequest a while ago: https://gist.github.com/SpotlightKid/eca9b00239104e8c599b86635f62ab73 The "urllib.parse" module in miceropython-lib, which contains the "urlencode" function is rather large and depends on ot...
by SpotlightKid
Sun Jun 02, 2019 3:25 am
Forum: Other Boards
Topic: Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 80
Views: 33436

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

OutoftheBOTS_ wrote:
Sat Jun 01, 2019 10:33 pm
Do you know if the the external Winbond W25Q16 16Mbit SPI Flash is implemented in MP?
https://github.com/SpotlightKid/micropy ... r/spiflash
by SpotlightKid
Thu Oct 11, 2018 9:22 pm
Forum: Hardware Projects
Topic: New 2.4GHz radio ARM cortex M3 chip
Replies: 10
Views: 1770

Re: New 2.4GHz radio ARM cortex M3 chip

The ARM specification just covers the CPU. The chip manufacturer still implements all the periphery (UART, SPI, I2C, etc.) and is free to do this however he chooses. For example, the SPI implementation on a ST chip is completely different than on a Winner chip. Heck, even between an STM32F4 and an S...
by SpotlightKid
Thu Oct 11, 2018 4:33 am
Forum: ESP32 boards
Topic: Differences between Micropython ports for ESP32 and ESP8266
Replies: 26
Views: 11960

Re: The pyb module

The port-specific module may also be a good place to initially implement a feature with a goal to moving it out to a general module in the future as it matures. An example would be esp32.TouchPad - it's port-specific at the moment but could feasibly become a general module. Or the pyb.I2C slave mod...
by SpotlightKid
Wed Oct 10, 2018 10:30 pm
Forum: Hardware Projects
Topic: New 2.4GHz radio ARM cortex M3 chip
Replies: 10
Views: 1770

Re: New 2.4GHz radio ARM cortex M3 chip

It depends on whether they provide a good reference documentation or even an SDK. So far I haven't found anything of the sorts (but I haven't looked very far).
by SpotlightKid
Wed Oct 10, 2018 5:10 pm
Forum: MicroPython pyboard
Topic: ExtInt and i2c Memory Error
Replies: 8
Views: 452

Re: ExtInt and i2c Memory Error

So is the i2c.recv() allocating memory internally You are allocating a bytearray object, when you are assigning the return value of I2C.recv() . Instead of passing an integer for the number of bytes to read, you should pass a pre-allocated buffer (bytearray or memory view) of the length you wish to...
by SpotlightKid
Wed Oct 10, 2018 5:04 pm
Forum: ESP32 boards
Topic: Pin input pull-mode of ESP32 WROVER module
Replies: 1
Views: 293

Re: Pin input pull-mode of ESP32 WROVER module

You should refer to the full reference documentation, not only to the tutorial:

https://docs.micropython.org/en/latest/ ... e.Pin.html
by SpotlightKid
Wed Oct 10, 2018 3:53 pm
Forum: Hardware Projects
Topic: New 2.4GHz radio ARM cortex M3 chip
Replies: 10
Views: 1770

Re: New 2.4GHz radio ARM cortex M3 chip

This looks rather interesting. If the SPI interface (which apparently is mapped to the board's pins) has good slave mode support, this could also be used as cheap WiFi add-on for the pyboard or other MicroPython boards without a NIC. You could probably even cook up a driver in pure MicroPython using...
by SpotlightKid
Mon Oct 08, 2018 5:16 am
Forum: ESP8266 boards
Topic: Tweepy/TwitterAPI
Replies: 8
Views: 629

Re: Tweepy/TwitterAPI

You just have to look at the setup.py of one of these mentioned libs and notice their dependencies to realize that they won't work under MicroPython. As already said above, very few libs for CPython will work on MicroPython.