Search found 7 matches

by PureBasic
Thu Jul 16, 2020 11:11 pm
Forum: Programs, Libraries and Tools
Topic: Docker container for building and deployment of micropython on ESP32
Replies: 0
Views: 1352

Docker container for building and deployment of micropython on ESP32

Hello folks ! I made a simple docker container to sort my environment issues while working on both micropython and other compilers/languages/targets, and make the whole thing portable. Hope you'll find it useful! The github page is up also, issues and pull requests are very welcome. https://hub.dock...
by PureBasic
Sun May 24, 2020 3:57 pm
Forum: Programs, Libraries and Tools
Topic: Complete documentation and references
Replies: 7
Views: 3507

Re: Complete documentation and references

But back to the Documentation, because I was talking documentation at first. I can see now by reading the code that it is impossible to make proper doxygen documentation for the python API because of the way mpy is written. I don't really know the internals of doxy but would it be possible to still ...
by PureBasic
Sun May 24, 2020 3:49 pm
Forum: Programs, Libraries and Tools
Topic: Complete documentation and references
Replies: 7
Views: 3507

Re: Complete documentation and references

Yeah I am a newb for mpy but I'm not THAT noob :mrgreen: I know the I2C bus and various implementations quite well, and already wrote my routines in C... I just don't know the usual python way and even less so the mpy way (I'm discovering). Also my bad I didn't read the mpy I2C documentation well en...
by PureBasic
Sun May 24, 2020 1:27 am
Forum: Programs, Libraries and Tools
Topic: Complete documentation and references
Replies: 7
Views: 3507

Re: Complete documentation and references

Alright, just found out that addrsize is in bits, not bytes. :mrgreen:
by PureBasic
Sun May 24, 2020 1:24 am
Forum: Programs, Libraries and Tools
Topic: Complete documentation and references
Replies: 7
Views: 3507

Re: Complete documentation and references

Hi again, The true real problem for me is that I am trying to talk to a device with 16bits register addresses. In the I2C documentation, readfrom_mem seems to accept an addrsize parameter (that I set to 2). In the ESP32 documentation, addrsize is not shown in the example, so does it means it is not ...
by PureBasic
Sat May 23, 2020 12:42 pm
Forum: Programs, Libraries and Tools
Topic: Complete documentation and references
Replies: 7
Views: 3507

Complete documentation and references

Hello all, New to Micropython and I like it so far. However I struggle to find some deep documentation of the various functions implemented. For example: I2C.readfrom_mem() The documentation is very evasive about the various types this function is expecting, and a search in the GitHub codebase only ...