diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-10-15 16:59:29 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-10-27 16:18:39 -0700 |
| commit | 85dadf3a561c21e284d5daf42b1b3e367ce7ebc6 (patch) | |
| tree | 4054d67e76cbde6efca91930b7d095f1dde61080 /shared-bindings/_typing | |
| parent | 1196d4bcf62884a18316bf44258a8d9b838f7273 (diff) | |
More API changes
Diffstat (limited to 'shared-bindings/_typing')
| -rw-r--r-- | shared-bindings/_typing/__init__.pyi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shared-bindings/_typing/__init__.pyi b/shared-bindings/_typing/__init__.pyi index 48e68a8d5..3b3f18cb9 100644 --- a/shared-bindings/_typing/__init__.pyi +++ b/shared-bindings/_typing/__init__.pyi @@ -52,3 +52,15 @@ FrameBuffer = Union[rgbmatrix.RGBMatrix] - `rgbmatrix.RGBMatrix` """ + +Alarm = Union[ + alarm_time.Time, alarm_pin.PinLevel, alarm_touch.PinTouch +] +"""Classes that implement the audiosample protocol + + - `alarm_time.Time` + - `alarm_pin.PinLevel` + - `alarm_touch.PinTouch` + + You can play use these alarms to wake from light or deep sleep. +""" |
