aboutsummaryrefslogtreecommitdiff
path: root/docs/library
AgeCommit message (Collapse)Author
2016-02-22docs: Minor change to improve clarity in machine.Timer docs.danicampora
2016-02-21docs: Correct WiPy Timer docs.danicampora
2016-02-21cc3200: Simplify the Timer API and correct the documents.danicampora
Make the PWM duty cycle configurable from 0.00 to 100.00 by accepting values from 0 to 10000. Add automatic Pin assignment when operating in PWM mode.
2016-01-29docs: Update to say that Timer(3) is free, and detail LED intensity.Damien George
2016-01-13docs: Several minor changes: network, pyb, ADCAll and inline asm.Peter Hinch
2016-01-04docs: Include extra functions in time documentation for pyboard.Henrik Sölver
2015-12-16docs/library: Add network server example.danicampora
2015-11-18docs: Update docs for WiPy wlan.connect().Noah
- The link establishment timeout is infinite by default - Fix typo in notes about the auth kwarg
2015-11-09docs/select: Document POLLIN/OUT/ERR/HUP.Paul Sokolovsky
2015-10-31docs/library/index.rst: Minimally adapt for unix port.Paul Sokolovsky
2015-10-29docs: select: Describe poll.poll() return value in detail.Paul Sokolovsky
2015-10-25docs: USB_VCP: Always in non-blocking mode, clarify stream method returns.Paul Sokolovsky
They return None if no data available.
2015-10-25docs: Explicitly specify behavior of UART stream protocol methods on timeout.Paul Sokolovsky
2015-10-22docs: Correct machine.RTC examples.danicampora
2015-10-22docs: Fix typos on wipy docs.danicampora
2015-10-21docs: Add remark about ssl sockets and standard sockets.danicampora
2015-10-21docs: Remove remaining references to 'af', which is now 'alt'.danicampora
2015-10-21docs: Several corrections to the classes in the machine module.danicampora
2015-10-21docs: Add usocket and ussl modules' documentation.danicampora
2015-10-19cc3200: WLAN class can retrieve the existing instance.danicampora
2015-10-19docs/wipy: Add wipy tutorials section.danicampora
2015-10-19docs: Add wipy and network.server documentation.danicampora
2015-10-17docs: Update all WiPy docs to reflect the new API.danicampora
2015-10-13docs: Fix formatting of DAC code examples.Damien George
2015-10-13stmhal: Allow to set bits resolution for DAC; 8 is default, can have 12.Damien George
This patch allows to configure the DAC resolution in the constructor and in the init function, eg: dac = DAC(1, bits=12). The default resolution is 8 bits for backwards compatibility. The bits sets the maximum value accepted by write and write_timed methods, being 2**bits - 1. When using write_timed with 12-bit resolution, the input buffer is treated as an unsigned half-word array, typecode 'H'. See PR #1130 for discussion.
2015-10-10docs: Describe properly how MCU can be woken from pyb.standby() state.Damien George
2015-10-06docs: Update esp8266 documentation to match the code.Radomir Dopieralski
* Move the esp.status() to network module. * Describe the wifi.isconnected() method. * Describe esp.mac(), esp.wifi_mode(), esp.phy_mode(), esp.sleep_type(), esp.deepsleep(), and esp.flash_id() functions.
2015-09-16docs: Adapt WiPy's ADC doc and quickref to the new API.Daniel Campora
2015-09-16cc3200: New SPI API.Daniel Campora
2015-09-16docs/wipy: Add pins to the I2C constructor.Daniel Campora
2015-09-16cc3200: New WDT API.Daniel Campora
2015-09-16cc3200: Add UART.ODD and UART.EVEN to select parity.Daniel Campora
2015-09-16cc3200: Replace Pin.PULL_NONE with None.Daniel Campora
2015-09-16docs: Update I2C and UART docs to match the new API.Daniel Campora
2015-09-10cc3200: New UART API plus related test.Daniel Campora
2015-09-10cc3200: Add alternate functions list to Pin object.Daniel Campora
Also remove pin.high() and pin.low() methods.
2015-09-10cc3200: Re-work Pin class according to the new API.Daniel Campora
Also add relevant test.
2015-08-16cc3200: Rework SD API. Increase heap to avoid malloc failures.Daniel Campora
2015-08-16cc3200: Rename SPI nss param to cs.Daniel Campora
The nss param in the pyboard has a different meaning that doesn't apply to the WiPy.
2015-08-16cc3200: Improve callback API.Daniel Campora
Rename "wakes" param to "wake_from" and make "value" an object instead of an integer.
2015-08-10cc3200: Make ADC API compatible with the pyboard.Daniel Campora
2015-08-09cc3200: Improve support for WEP security.Daniel Campora
Key is always entered as a string, but if security is WEP, the key is converted automatically to hex before connecting or configuring the device as an AP.
2015-08-09docs: Add i2c keywork arguments only indication.Daniel Campora
2015-08-09cc3200: Add nic.iwconfig() to set/get WLAN configuration.Daniel Campora
Changes are based on this post: https://github.com/micropython/micropython/issues/876#issuecomment-115255551 The constructor can optionally take the same params of iwconfig in order to configure WiFi when creating the object. Params are keyworkd only. The WiPy accepts: - mode (int -> WLAN.AP or WLAN.STA) - ssdi (string) - security (int -> WLAN.OPEN, WLAN.WEP, WLAN.WPA, WLAN.WPA2) - key (string) - channel (int (1-11)) - antenna (int -> WLAN.INTERNAL, WLAN.EXTERNAL)
2015-08-02cc3200: Make I2C and SPI API the same as in stmhal.Daniel Campora
2015-07-30cc3200: Rename pins from GPIO to just GP.Daniel Campora
This is how the names will be printed on the sticker that goes on top of the EMI shield. The shorter names also help saving a few bytes of RAM and ROM.
2015-07-22stmhal: Allow ADC.read_timed to take Timer object in place of freq.Damien George
This allows a user-specified Timer for the triggering of the ADC read, mirroring the new behaviour of DAC.write_timed. Addresses issue #1129.
2015-07-21stmhal: Allow DAC.write_timed to take Timer object in place of freq.Damien George
This allows the DAC to use a user-specified Timer for the triggering (instead of the default Timer(6)), while still supporting original behaviour. Addresses issues #1129 and #1388.
2015-07-08docs: Update pyb.Accel doc to reflect changes and explain filtered_xyz.Damien George
2015-07-02cc3200: time.sleep() now receives seconds, like CPython.Daniel Campora