Damien George
c24b0a7f2b
docs/library/pyb.ADC: Fix typo of "prarmeter".
7 years ago
Peter Hinch
0600645944
docs/library/pyb.ADC: Remove outdated ADCAll code example.
7 years ago
Damien George
b30e0d2f26
stm32/dac: Add buffering argument to constructor and init() method.
This can be used to select the output buffer behaviour of the DAC. The
default values are chosen to retain backwards compatibility with existing
behaviour.
Thanks to @peterhinch for the initial idea to add this feature.
7 years ago
Damien George
aebd9701a7
stm32/adc: Optimise read_timed_multi() by caching buffer pointers.
7 years ago
Peter Hinch
4f40fa5cf4
stm32/adc: Add read_timed_multi() static method, with docs and tests.
7 years ago
T S
8f11d0b532
docs/library/pyb.ADC.rst: Document new features for ADCAll.
7 years ago
Damien George
0abbafd424
stm32/can: Add "list" param to CAN.recv() to receive data inplace.
This API matches (as close as possible) how other pyb classes allow inplace
operations, such as pyb.SPI.recv(buf).
7 years ago
Damien George
b7d576d69a
docs/library/pyb.CAN: Clean up documentation of data constants.
7 years ago
Damien George
a25e6c6b65
stm32/can: Add CAN.info() method to retrieve error and tx/rx buf info.
7 years ago
Damien George
d7e67fb1b4
stm32/can: Add CAN.state() method to get the state of the controller.
This is useful for monitoring errors on the bus and knowing when a restart
is needed.
7 years ago
Damien George
1272c3c65d
stm32/can: Add CAN.restart() method so controller can leave bus-off.
7 years ago
Damien George
823ca03008
stm32/can: Add "auto_restart" option to constructor and init() method.
7 years ago
Damien George
d91a1989f5
docs/library/pyb.CAN: Update markup to use latest doc conventions.
7 years ago
Damien George
0db49c37a4
docs: Fix some references and RST markup to eliminate Sphinx warnings.
7 years ago
Tom Collins
4d3a92c67c
extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple.
7 years ago
Damien George
9cef2b03a7
docs/reference/repl.rst: Fix some minor errors in the REPL tutorial.
7 years ago
Damien George
8359210e71
docs/library/uos: Document mount, umount, VfsFat and block devices.
7 years ago
Damien George
63b003d523
docs/library/uos: Create sections for distinct parts and document uname.
7 years ago
Damien George
a5fb699d87
docs/library/micropython: Describe optimisation levels for opt_level().
7 years ago
Damien George
6e09320b4c
docs/library/usocket: Make xref to uerrno explicitly a module reference.
7 years ago
Damien George
c5fe610ba1
esp8266/modnetwork: Implement WLAN.status('rssi') for STA interface.
This will return the RSSI of the AP that the STA is connected to.
7 years ago
Damien George
e05fca4ef3
docs/library/ujson: Document dump() and load() functions.
7 years ago
Damien George
9e8b7b1b63
docs/library/ujson: Update to conform with docs conventions.
The formatting of exception objects is done as per CPython conventions, eg:
:exc:`TypeError`
7 years ago
Olivier Ortigues
298b325f3e
docs/esp8266: Add a note concerning GPIO16 pull capabilities.
7 years ago
Olivier Ortigues
d072573226
docs/esp8266: Update PWM doc regarding clipping of min/max values.
7 years ago
Damien George
e708e87139
docs/library/pyb.rst: Add note about availability of USB MSC-only mode.
7 years ago
Paul Sokolovsky
5de064fbd0
docs/library/index: Elaborate uPy libraries intro.
7 years ago
Paul Sokolovsky
e37ccfe59b
docs/packages: Explicitly recommend usage of setuptools instead of distutils.
7 years ago
Paul Sokolovsky
9251f1395e
docs/packages: Use "install_dir/" in examples.
7 years ago
Paul Sokolovsky
02d2a0fb3a
docs/conf: Reference CPython 3.5 docs.
CPython 3.6 contains some backward incompatible changes, and further
version(s) are expected to have more. As we anyway implemente 3.4 with
some features of 3.5, refer to 3.5 docs to avoid confusion.
Examples of 3.6 backward incompatibilities:
https://docs.python.org/3.6/library/json.html#json.dump
https://docs.python.org/3.6/library/json.html#json.load
> Changed in version 3.6: All optional parameters are now keyword-only.
https://docs.python.org/3.6/library/functions.html#type
> Changed in version 3.6: Subclasses of type which don’t override
> type.__new__ may no longer use the one-argument form to get the
> type of an object.
https://docs.python.org/3.6/library/collections.html#collections.namedtuple
> Changed in version 3.6: The verbose and rename parameters became
> keyword-only arguments.
7 years ago
Paul Sokolovsky
448d93a04a
docs/glossary: micropython-lib: Clarify wording.
7 years ago
Paul Sokolovsky
bf73ee114f
docs/packages: mpy_bin2res no longer required to create resources.
Everything happens automagically with overridden "sdist" from
sdist_upip.py.
7 years ago
Damien George
46b35356e1
extmod/modframebuf: Add 8-bit greyscale format (GS8).
7 years ago
Petr Viktorin
34247465c3
extmod/modframebuf: Add 2-bit color format (GS2_HMSB).
This format is used in 2-color LED matrices and in e-ink displays like
SSD1606.
7 years ago
Ryan Finnie
1e2b78111b
docs/esp8266/tutorial: Fix typo, change -> changed.
7 years ago
Paul Sokolovsky
54cd6e3e4b
docs/packages: Add quick "Creating distribution packages" section.
Needs more details.
7 years ago
Paul Sokolovsky
c60fc670ea
docs/reference/packages: Add chapter on distribution packages and deployment.
A long overdue overview of preparing packages, installing them with upip,
freezing, dealing with resources. Initial version, more iterations required.
7 years ago
Paul Sokolovsky
ca8034d6b8
docs/glossary: Clarify wording for "baremetal".
7 years ago
Paul Sokolovsky
3ff7040c8a
docs/library: Add xrefs to "stream" dictionary entry for many modules.
7 years ago
Paul Sokolovsky
155ec21e49
docs/glossary: Describe string interning.
7 years ago
Paul Sokolovsky
8175f1608e
docs/glossary: Describe "stream" term.
7 years ago
Paul Sokolovsky
140acc9a32
docs/uerrno: Fix xref-vs-code markup.
7 years ago
Paul Sokolovsky
4fee35a32c
docs/glossary: Describe the callee-owned tuple concept.
7 years ago
Paul Sokolovsky
cb9da2279b
docs/uselect: ipoll: Fix grammar/wording of one-shot flag description.
7 years ago
Paul Carver
7d25a19220
docs/library/utime: Fix incorrect example with ticks_diff args order.
The parameter order in the example for ticks_diff was incorrect. If it's
"too early" that means that scheduled time is greater than current time and
if it's "running late" then scheduled time would be less than current time.
7 years ago
Paul Sokolovsky
f59c6b48ae
docs/uselect: Describe POLLHUP/POLLERR semantics in more details.
Per POSIX, http://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html
these flags aren't valid in the input eventmask. Instead, they can be
returned in unsolicited manner in the output eventmask at any time.
7 years ago
Paul Sokolovsky
50cffcfe2c
docs/uctypes: Tweak descriptor reference to hopefully be easier to follow.
Put offset first in OR expressions, and use "offset" var instead of
hardcoded numbers. Hopefully, this will make it more self-describing
and show patterns better.
7 years ago
Paul Sokolovsky
c23cc4cc81
docs/uctypes: Typo/article fixes.
7 years ago
Paul Sokolovsky
067bf849d2
docs/uselect: poll: Explicitly specify that no-timeout value is -1.
7 years ago
Peter Hinch
ec1e9a10a7
docs: Add notes on heap allocation caused by bound method refs.
7 years ago