micropython/drivers
Paul Sokolovsky d5e9ab6e61 extmod/machine_pulse: Make time_pulse_us() not throw exceptions.
machine.time_pulse_us() is intended to provide very fine timing, including
while working with signal bursts, where each transition is tracked in row.
Throwing and handling an exception may take too much time and "signal loss".
So instead, in case of a timeout, just return negative value. Cases of
timeout while waiting for initial signal stabilization, and during actual
timing, are recognized.

The documentation is updated accordingly, and rewritten somewhat to clarify
the function behavior.
2017-02-05 14:20:17 +03:00
..
cc3000 py: Specialise builtin funcs to use separate type for fixed arg count. 2016-10-21 16:26:01 +11:00
cc3100 drivers: Update CC3100 driver library to SDK release version 1.1.0. 2015-03-16 00:42:08 +01:00
dht extmod/machine_pulse: Make time_pulse_us() not throw exceptions. 2017-02-05 14:20:17 +03:00
display drivers/display: Add driver and test for uPy LCD160CR display. 2017-01-23 14:36:19 +11:00
memory drivers/memory: Add SPI flash driver, written in C. 2017-01-24 16:56:03 +11:00
nrf24l01 drivers: Fix some minor spelling mistakes. 2017-01-18 15:31:05 +11:00
onewire drivers/onewire/ds18x20: Fix negative temperature calc for DS18B20. 2017-01-08 19:26:22 +11:00
sdcard drivers: Fix some minor spelling mistakes. 2017-01-18 15:31:05 +11:00
wiznet5k drivers/wiznet5k: Fix indentation so it's not misleading. 2016-07-11 21:11:25 +01:00
README.md Added 'drivers' directory, intended to hold code for specific hardware. 2014-09-01 22:52:37 +01:00

README.md

This directory contains drivers for specific hardware. The drivers are intended to work across multiple ports.