Search found 29 matches
- Tue Jan 22, 2019 10:26 am
- Forum: MicroPython pyboard
- Topic: RTC wakeup depends on calibration value ???
- Replies: 2
- Views: 2479
RTC wakeup depends on calibration value ???
There is a problem with the RTC wakeup, the timing depends on the calibration value and is therefore incorrect... Sorry for the long text, but I am kinda stuck... I am working on a code to self-adjust the RTC on the PyBoard. The code uses a PPS signal from a GPS to calculate the calibration value of...
- Sat Dec 22, 2018 12:04 pm
- Forum: MicroPython pyboard
- Topic: Real-Time Clock (RTC) drift
- Replies: 27
- Views: 32562
Re: Real-Time Clock (RTC) drift
I am working on a code to self-adjust the RTC on the PyBoard. It is a learning exercise, and i am not finished yet. The idea is, to use a GPS with a PPS (I use the Adafruit ultimate GPS) and compare the RTC output to the PPS signal. The rtc.datetime() function supplies a subsecond value, which is 1/...
- Sun Dec 02, 2018 12:22 am
- Forum: General Discussion and Questions
- Topic: UART inheritance mystery
- Replies: 2
- Views: 2026
Re: UART inheritance mystery
Thanks, Dave.
I stick for convenience to my Two-Parameter solution and set the columns and rows using properties.
That works (for now), but I'll keep an eye on the derived class...
I stick for convenience to my Two-Parameter solution and set the columns and rows using properties.
That works (for now), but I'll keep an eye on the derived class...
- Thu Nov 29, 2018 9:10 am
- Forum: General Discussion and Questions
- Topic: UART inheritance mystery
- Replies: 2
- Views: 2026
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...
- Mon Nov 19, 2018 6:13 am
- Forum: MicroPython pyboard
- Topic: Pyboard 1.1 Eagle library
- Replies: 3
- Views: 3426
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.
Hope it helps.
- Thu Oct 18, 2018 8:37 am
- Forum: MicroPython pyboard
- Topic: Minor mistake in Documantation? - class Pin
- Replies: 1
- Views: 1672
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...
- Fri Jul 13, 2018 4:36 am
- Forum: General Discussion and Questions
- Topic: docstring challenge
- Replies: 3
- Views: 3336
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?
I vaguely recall the very first try to get a docstring somehow worked - or maybe it was an illusion?
- Fri Jul 13, 2018 4:30 am
- Forum: MicroPython pyboard
- Topic: Driver installation failure
- Replies: 1
- Views: 1708
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...
- Thu Jul 12, 2018 1:00 pm
- Forum: General Discussion and Questions
- Topic: docstring challenge
- Replies: 3
- Views: 3336
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...