Search found 26 matches

by Hanilein
Thu Nov 29, 2018 9:10 am
Forum: General Discussion and Questions
Topic: UART inheritance mystery
Replies: 2
Views: 234

UART inheritance mystery

A "What a Terrible Failure"-moment (a.k.a WTF) for me... I am developing a set of classes to be used with terminals. I am deriving from UART as follows: from pyb import UART class serialTerminal(UART): def __init__(self,port,speed,maxCol,maxRow): self.maxCol = maxCol self.maxRow = maxRow troubleTerm...
by Hanilein
Mon Nov 19, 2018 6:13 am
Forum: MicroPython pyboard
Topic: Pyboard 1.1 Eagle library
Replies: 3
Views: 700

Re: Pyboard 1.1 Eagle library

I have one, just used to create a breadboard adapter, so it is really just the footprint and a symbol.
Hope it helps.
by Hanilein
Thu Oct 18, 2018 8:37 am
Forum: MicroPython pyboard
Topic: Minor mistake in Documantation? - class Pin
Replies: 1
Views: 327

Minor mistake in Documantation? - class Pin

The documentation for the class Pin says: CPU pins which correspond to the board pins are available as pyb.cpu.Name . For the CPU pins, the names are the port letter followed by the pin number. On the PYBv1.0, pyb.Pin.board.X1 and pyb.Pin.cpu.A0 are the same pin. The example is correct, but in the f...
by Hanilein
Fri Jul 13, 2018 4:36 am
Forum: General Discussion and Questions
Topic: docstring challenge
Replies: 3
Views: 416

Re: docstring challenge

Thanks, Kevin - can anybody confirm this?
I vaguely recall the very first try to get a docstring somehow worked - or maybe it was an illusion?
by Hanilein
Fri Jul 13, 2018 4:30 am
Forum: MicroPython pyboard
Topic: Driver installation failure
Replies: 1
Views: 364

Driver installation failure

Hello everyone, I have two pyboards V1.1 running MicroPythonV1.9.2 to play with. I have issues to install the drivers as recommended. I also have two laptops, one is a Lenovo, the other one a Toshiba. Both running Windows 7 Enterprise SP1. The first step of the install is to plug in the pyboard, and...
by Hanilein
Thu Jul 12, 2018 1:00 pm
Forum: General Discussion and Questions
Topic: docstring challenge
Replies: 3
Views: 416

docstring challenge

Hi, I am running MicroPython on a Pyboard and I am new to Python, but not to programming. I found online a site explaining the use of DocString and i defined a function 'nonsense' in a module 'clock.py' : [code] # file clock.py : Clock Functions import pyb def nonsense(): '''test doc string''' retur...