Search found 68 matches
- Sat Feb 26, 2022 3:58 am
- Forum: Pyboard D-series
- Topic: Spacers
- Replies: 0
- Views: 27100
Spacers
Hi, Has anyone found a suitable spacer to mount a PyBoard-D on a motherboard that is clip in rather than screw in? I can’t find official dimension but I think: holes are 1.6 mm dis on the PyBoard and you need a spacing of 4 mm to mate with W-Bus connectors on the motherboard. Thanks in advance, Howa...
- Wed Dec 29, 2021 2:58 am
- Forum: General Discussion and Questions
- Topic: Calculate percent value
- Replies: 13
- Views: 30903
Re: Calculate percent value
I think you need `adc0.read()` when you call `scale_value`, not just `adc0`. The error message looks like it is expecting an `int`, but you are giving it an `ADC`.
- Fri Nov 12, 2021 1:09 am
- Forum: Announcements and News
- Topic: Recent updates to MicroPython docs [GSoD 2021]
- Replies: 2
- Views: 57984
Re: Recent updates to MicroPython docs [GSoD 2021]
Really glad the documentation is getting some love!
- Sat Aug 21, 2021 2:54 am
- Forum: Programs, Libraries and Tools
- Topic: collections.deque doesn't do anything useful
- Replies: 3
- Views: 3255
Re: collections.deque doesn't do anything useful
Re-reading my post I think I'm a bit harsh on deque; it does act as a FIFO, which is useful. However it is a long way from what you would expect a deque to do.
- Sat Aug 21, 2021 2:48 am
- Forum: Programs, Libraries and Tools
- Topic: collections.deque doesn't do anything useful
- Replies: 3
- Views: 3255
collections.deque doesn't do anything useful
It looks like `deque` only has `append` and `popleft` and nothing else, therefore it doesn't do anything useful: MicroPython v1.16 on 2021-06-18; PYBD-SF2W with STM32F722IEK Type "help()" for more information. >>> from collections import deque >>> d = deque((), 2) >>> dir(d) ['__class__', 'append', ...
- Wed Jul 07, 2021 4:02 am
- Forum: Pyboard D-series
- Topic: Using a Ethernet cable on SF6W
- Replies: 5
- Views: 21163
Re: Using a Ethernet cable on SF6W
Has this ethernet shield ever been developed? Has anyone developed their own?
- Wed Apr 14, 2021 4:46 am
- Forum: Programs, Libraries and Tools
- Topic: machine.RTC documentation
- Replies: 4
- Views: 2928
- Mon Apr 12, 2021 6:42 am
- Forum: Programs, Libraries and Tools
- Topic: machine.RTC documentation
- Replies: 4
- Views: 2928
Re: machine.RTC documentation
@mattyt Thanks. Does that mean newer boards conform to machine.RTC?
- Sun Apr 11, 2021 11:22 pm
- Forum: Programs, Libraries and Tools
- Topic: machine.RTC documentation
- Replies: 4
- Views: 2928
machine.RTC documentation
Using the latest build on a PyBoard: MicroPython v1.14-68-gd4b45898f on 2021-02-18; PYBv1.1 with STM32F405RG I'm having trouble with `machine.RTC`, the example given in the documentation doesn't work: >>> import machine >>> rtc = machine.RTC() So far so good, but: >>> rtc.init((2014, 5, 1, 4, 13, 0,...
- Fri Oct 09, 2020 10:00 pm
- Forum: Development of MicroPython
- Topic: Doc change pull requests languishing
- Replies: 4
- Views: 3016
Re: Doc change pull requests languishing
OK I have closed all the old requests and resubmitted new ones: https://github.com/micropython/micropython/pull/6528 https://github.com/micropython/micropython/pull/6529 https://github.com/micropython/micropython/pull/6531 https://github.com/micropython/micropython/pull/6532 https://github.com/micro...