Search found 363 matches

by devnull
Tue Jul 02, 2019 11:31 am
Forum: ESP32 boards
Topic: [Solved] Cannot Build Latest using esp-idf 6b3da6b
Replies: 3
Views: 200

Re: Cannot Build Latest using esp-idf 6b3da6b

Thanks Robert;

Yes, fully updated including the toolchain.

Silly mistake, needed to make clean

:oops:
by devnull
Mon Jul 01, 2019 1:19 pm
Forum: ESP32 boards
Topic: [Solved] Cannot Build Latest using esp-idf 6b3da6b
Replies: 3
Views: 200

[Solved] Cannot Build Latest using esp-idf 6b3da6b

Just updated uPython and the esp-idf to 6b3da6b188 (3.3 Beta) and cannot get it to build anymore. /nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:26:21: error: 'CONFIG_EFUSE_MAX_BLK_LEN' undeclared here (not in a function) #define MAX_BLK_LEN CONF...
by devnull
Tue May 07, 2019 12:59 pm
Forum: ESP32 boards
Topic: Build Error - python2: Command not found
Replies: 2
Views: 245

Re: Build Error - python2: Command not found

@jimmo - thanks so much, yes that worked :-)
by devnull
Tue May 07, 2019 12:13 pm
Forum: ESP32 boards
Topic: Build Error - python2: Command not found
Replies: 2
Views: 245

Build Error - python2: Command not found

Unable to build esp32, I only have python3 installed and don't want to install python 2.7 as it is being deprecated soon. I have tried to force using python 3 with PYTHON=python3 but as you can see the kake command is still calling python 2 # make V=1 PYTHON=python3 Create build/partitions.bin pytho...
by devnull
Wed Apr 24, 2019 11:13 pm
Forum: ESP32 boards
Topic: Waveshare e-paper display how to rotate?
Replies: 13
Views: 1554

Re: Waveshare e-paper display how to rotate?

Hi;

The issue regarding display rotation for me is related to hardware layout, the inability to rotate it restricts where I can place the display on the board relative to other components.
by devnull
Wed Apr 24, 2019 7:56 am
Forum: ESP32 boards
Topic: Waveshare e-paper display how to rotate?
Replies: 13
Views: 1554

Re: Waveshare e-paper display how to rotate?

I am also looking for a solution to this, only on the 1.54" display which is 200px x 200px.
by devnull
Wed Apr 17, 2019 10:10 am
Forum: General Discussion and Questions
Topic: Extend System Module By Subclassing
Replies: 8
Views: 487

Re: Extend System Module By Subclassing

That's very neat, but this does not appear to work:

Code: Select all

from network import WLAN, STA_IF
original = WLAN(STA_IF)
custom = wlan(original)

custom.xscan()
custom.scan()
I have to call:

Code: Select all

custom._station.scan()
by devnull
Tue Apr 16, 2019 11:34 pm
Forum: General Discussion and Questions
Topic: Extend System Module By Subclassing
Replies: 8
Views: 487

Re: Extend a Module By Subclassing

Hmm. interesting was not aware of the composition approach, but I guess that custom() will not contain all of the original methods and variables from WLAN() in your example, and that I would need to redefine / link them all if required ? i.e. class wlan: def __init__(self, station): self._station = ...
by devnull
Sun Apr 14, 2019 11:45 pm
Forum: General Discussion and Questions
Topic: Extend System Module By Subclassing
Replies: 8
Views: 487

Extend System Module By Subclassing

I realise that this is more of a generic python question rather than micropython specific, but how do I subclass and then add new methods ? Is it possible to add new methods as well as replace existing ones: from network import WLAN class wlan(WLAN): def __init__(self): super().__init__() def scan(s...
by devnull
Mon Apr 08, 2019 6:57 am
Forum: Pyboard D-series
Topic: Home Made Breakout Board
Replies: 1
Views: 425

Home Made Breakout Board

Yellow = X
Black = Y
Red = 3v3OUT
Blue = Ground

Image