Verified Commit 1d21f7c1 authored by Rahix's avatar Rahix

chore: Update CHANGELOG

Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent feb7a097
Pipeline #3531 passed with stages
in 52 seconds
......@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Added
- Pause mode in ECG-App
- `bin` field in metatdata for an alternate entrypoint
- API-call for direct light-sensor readout: `epic_light_sensor_read`
### Changed
- No longer require locking the display for setting the backlight.
## [v1.7] - 2019-08-24 21:48 - [Garlic]
......
......@@ -25,3 +25,13 @@ be fairly stable.
.. py:function:: stop()
Stop the ADC.
.. py:function:: read()
Direct readout of the light-sensor.
Use this function for low latency readout. The time between polls can have
an effect on the values measures. If you do not need low latency, prefer
:py:func:`light_sensor.get_reading`.
.. versionadded:: 1.8
......@@ -1401,9 +1401,15 @@ API(API_LIGHT_SENSOR_GET, int epic_light_sensor_get(uint16_t* value));
API(API_LIGHT_SENSOR_STOP, int epic_light_sensor_stop());
/**
* Get the light level directly. Each call has an intrinsic delay of about 240us, I recommend another 100-300us delay via utime.sleep_ms() between calls. Whether or not the IR LED is fast enough is another issue.
* Get the light level directly.
*
* Each call has an intrinsic delay of about 240us, I recommend another
* 100-300us delay between calls. Whether or not the IR LED is fast enough is
* another issue.
*
* :return: Light level
*
* .. versionadded:: 1.8
*/
API(API_LIGHT_SENSOR_READ, uint16_t epic_light_sensor_read(void));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment