Search found 18 matches

by rpr
Fri Nov 30, 2018 7:22 am
Forum: ESP8266 boards
Topic: Flashing error? (memory allocation failed)
Replies: 8
Views: 425

Re: Flashing error? (memory allocation failed)

It worked with the frozen files. Thanks for the help.
by rpr
Thu Nov 29, 2018 11:06 pm
Forum: ESP8266 boards
Topic: Flashing error? (memory allocation failed)
Replies: 8
Views: 425

Re: Flashing error? (memory allocation failed)

Thanks. I figured something like that was needed. I will look up how to build.

As an aside, the demo code for the writer.py (writer_demo.py) worked just fine on my esp32 (which of course has lots more memory).
by rpr
Thu Nov 29, 2018 10:55 pm
Forum: ESP8266 boards
Topic: Flashing error? (memory allocation failed)
Replies: 8
Views: 425

Re: Flashing error? (memory allocation failed)

I have the same issue. I don't think that there is enough memory on the ESP8266.

viewtopic.php?t=1747

The font file is quite big for me. ~18 K. while the available memory is only about 22-25 K. Maybe that is the reason that this module cannot run.
by rpr
Thu Nov 29, 2018 7:47 pm
Forum: General Discussion and Questions
Topic: module documentation (ssd1306)
Replies: 8
Views: 906

Re: module documentation (ssd1306)

I do have an esp8266 somewhere in my box. Will look for it and see what happens.

Also realized that on the esp32 I'm using the Loboris micropython firmware. I will try on the regular micropython.
by rpr
Thu Nov 29, 2018 1:36 am
Forum: General Discussion and Questions
Topic: module documentation (ssd1306)
Replies: 8
Views: 906

Re: module documentation (ssd1306)

I don't have an ESP8266 but an ESP32. Here is my simple example. I copied over writer.py, arial_clock.py. You would need to modify the Pin numbers. from machine import Pin, I2C from ssd1306 import SSD1306_I2C WIDTH = const(128) HEIGHT = const (64) sda_pin = Pin(26) scl_pin = Pin(25) i2c = I2C(scl=sc...
by rpr
Wed Nov 28, 2018 2:02 am
Forum: Drivers for External Components
Topic: Driver for VL53LOX TOF sensor
Replies: 8
Views: 736

Re: Driver for VL53LOX TOF sensor

Can you do an I2C_bus.scan()? That should give you the address. I don't have the device but from reading the datasheet (https://www.st.com/resource/en/datasheet/vl53l0x.pdf), the device address is 0 1 0 1 0 0 1 followed by R/W bit. So it is 0x29 << 1 + 1/0 for read/write. Thus, 0x52 for write to and...
by rpr
Mon Nov 26, 2018 9:49 pm
Forum: Development of MicroPython
Topic: C coding examples for MicroPython Functions and Methods
Replies: 1
Views: 506

Re: C coding examples for MicroPython Functions and Methods

Mike,

This is excellent. Appreciate your github repository.