Search found 401 matches

by devnull
Tue May 07, 2019 12:59 pm
Forum: ESP32 boards
Topic: Build Error - python2: Command not found
Replies: 2
Views: 348

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: 348

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: 1899

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: 1899

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: 613

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: 613

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: 613

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: 473

Home Made Breakout Board

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

Image
by devnull
Mon Apr 08, 2019 3:05 am
Forum: Pyboard D-series
Topic: Pyboard D - Accessories - Availability?
Replies: 7
Views: 735

Re: Pyboard D - Accessories - Availability?

I just checked and the only items out of stock are the WBUS-DIP28 and the EMMC (the one you're intersted in)

Are you viewing a cached page ??
by devnull
Mon Apr 08, 2019 12:44 am
Forum: Pyboard D-series
Topic: Pyboard D - Accessories - Availability?
Replies: 7
Views: 735

Re: Pyboard D - Accessories - Availability?

https://store.micropython.org/

They have been available for a couple of weeks already !