Search found 54 matches

by tuupola
Fri Mar 02, 2018 8:27 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 540931

Re: MicroPython on ESP32 with SPIRAM support

Mine actually does support both hard and soft iron bias correction. The class methods to calculate those values are not included yet though. Been pondering about the best way to do it. I did my version mostly for two reason. It was a nice exercise to learn Python. I also have a bit different program...
by tuupola
Sat Feb 24, 2018 6:23 am
Forum: ESP32 boards
Topic: adding library
Replies: 2
Views: 8400

Re: adding library

Do you want to compile an additional c library to the MicroPython intepreter itself, or do you want to use a third party library written in MicroPython with a MicroPython project?
by tuupola
Wed Feb 21, 2018 5:52 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 540931

Re: MicroPython on ESP32 with SPIRAM support

Open separate thread about individual projects.
by tuupola
Mon Feb 19, 2018 7:14 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 540931

Re: MicroPython on ESP32 with SPIRAM support

My existing driver uses soft I2C which is not supported here # Standard port i2c = I2C(-1, scl=scl_pin, sda=sda_pin) # Loboris port doesn't support soft I2C i2c = I2C(scl=scl_pin, sda=sda_pin) A programmatic means of determining the port would be generally useful as there are inevitable differences...
by tuupola
Sun Feb 18, 2018 5:42 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 540931

Re: MicroPython on ESP32 with SPIRAM support

pythoncoder wrote:
Sun Feb 18, 2018 12:00 pm
I'm trying to write a portable driver and there is a minor difference in I2C initialisation between the standard port and yours.
What is the difference?
by tuupola
Sun Feb 18, 2018 5:41 pm
Forum: General Discussion and Questions
Topic: Heap and interrupt handlers
Replies: 3
Views: 7750

Re: Heap and interrupt handlers

Makes sense, thanks. Guess I need to purchase some other boards than ESP32 for development to make sure code is portable.
by tuupola
Sat Feb 17, 2018 1:53 pm
Forum: General Discussion and Questions
Topic: Heap and interrupt handlers
Replies: 3
Views: 7750

Heap and interrupt handlers

I am bit confused about heap and interrupt handlers. Documentation says in several places that ISR cannot allocate memory from heap. For example: ISR’s cannot create instances of Python objects. This is because MicroPython needs to allocate memory for the object from a store of free memory block cal...
by tuupola
Sat Feb 17, 2018 7:12 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 540931

Re: MicroPython on ESP32 with SPIRAM support

pythoncoder wrote:
Sat Feb 17, 2018 7:11 am
Thank you, the heap size option fixed it. So much RAM :!: :D
I hope we get this also in vanilla MicroPython :)
by tuupola
Sat Feb 17, 2018 6:37 am
Forum: ESP8266 boards
Topic: Adafruit CircuitPython
Replies: 22
Views: 33645

Re: Adafruit CircuitPython

One of the reason I am actually considering CircuitPython over MicroPython for a project is the unified API between boards. That and ATSAMD support. I would however prefer the vanilla MicroPython API.
by tuupola
Thu Feb 15, 2018 11:39 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 540931

Re: MicroPython on ESP32 with SPIRAM support

I2C module, which was based on Pycom code (GPL licensed), is now rewritten from scratch (by the way, it now includes i2c slave and some improvements) and is MIT licensed. The update will be commited later today. Awesome! I was looking forward for the I2C slave. Is it also committed to GitHub? I cou...