hexthat
f8789a496f
Update to support CP versions 3.0.0 to 5.0.0
2019-08-01 07:42:11 -07:00
Brett Cannon
5308ecb0e7
Tweak grammar in a docstring
2019-06-25 10:37:57 -07:00
karengineering
a063ae396c
removing 2.0 code
...
no longer backwards compatible, raised NotImplementedError exception; future proposal: can include link to CircuitPython update instructions
2019-05-06 11:39:46 -04:00
Dan Halbert
55e9abaf8c
adjust frozen path order only if necessary
2018-11-01 16:38:11 -04:00
caternuson
cb05dd24cf
adjust sample length if needed for max sample rate
2018-10-02 14:39:27 -07:00
Kattni Rembor
c70fe23fc1
Add stop_tone()/with syntax to play_file
2018-06-15 15:18:36 -04:00
Kattni Rembor
b7d7d7e62a
Removed trailing whitespace for linting fix
2018-06-15 14:19:30 -04:00
Kattni Rembor
f8b379bd9e
whitespace
2018-06-15 13:56:52 -04:00
Kattni Rembor
4a4555b086
Added try/except to play_file
2018-06-15 11:42:34 -04:00
Kattni Rembor
13c4623da4
Added deinit() to play_file, stop_tone
2018-06-15 11:40:33 -04:00
Dan Halbert
53a8fe12c8
remove checks for pre-2.2.0 LIS3DH support
2018-06-04 17:50:01 -04:00
Dan Halbert
a784863991
refactor touch code to save space
2018-06-04 09:45:40 -04:00
Kattni Rembor
39608f0a7c
Added attribute to init for linting
2018-05-24 21:09:16 -04:00
Kattni Rembor
57b28219d6
Updated generate_sample and start_tone to 3.0
...
Added in checks for backwards compatibility with 2.x.
2018-05-24 21:04:48 -04:00
Kattni Rembor
c198e841e3
Update to allow for future versions of CP to work
2018-05-22 17:35:19 -04:00
Kattni Rembor
65d6950c32
Updates play_file to work with 3.0
2018-05-21 17:59:09 -04:00
sommersoft
46919d9d95
sphinx fix; image file paths
2018-02-23 21:28:04 -06:00
sommersoft
5ae4ab8038
updated doc strings
2018-02-23 21:20:16 -06:00
sommersoft
3332883846
setup docs folder
2018-02-23 21:13:13 -06:00
Kattni
bef9447587
Update for backwards compatibility
2017-12-29 22:11:32 -05:00
Kattni
f29dccd12e
Update for linting
2017-12-29 20:20:13 -05:00
Kattni
de12ea0d9d
Update to detect_taps
...
Sets different values for single and double-tap.
2017-12-29 20:13:30 -05:00
Kattni
aba4f1d033
Updated to work with lis3dh int change
...
Improved documentation, included example of using single-tap and double-tap
detection to clarify the need for a delay when using both together.
2017-12-28 23:57:02 -05:00
Kattni
ff019a3444
updating tap threshold, linting
...
Included fixes for travis ci build
2017-12-18 19:43:57 -05:00
ladyada
53485564fe
make linty happier
2017-12-17 17:23:36 -05:00
ladyada
3a0c653614
allow easy configuration of single or double tapping
2017-12-17 16:58:40 -05:00
Scott Shawcroft
411190f58a
Init OK on 2.1.0
...
LIS3DH doesn't have `set_tap` on 2.1.0.
2017-12-16 21:54:56 -08:00
Kattni
3b35d80ffd
Added double_tap to express class ( #23 )
...
Has a warning if the built in LIS3DH library is too old.
2017-12-15 12:41:39 -08:00
Kattni
27f1ab79f8
Added shake_threshold arg and updated docs
2017-12-15 11:59:42 -08:00
Kattni
c72c8d9705
Updated to clearer version of pylint disable
2017-12-10 14:52:31 -05:00
Kattni
eaca0d79cc
Updated to move adjustment into each touchpad call
2017-12-10 14:31:17 -05:00
Kattni
b19a3e2a71
Included #pylint: disable-msg=R0904
...
Error states `Too many public methods`. The allowed numbers are between 5 and 20.
This can be increased in pylint by changing `--max-public-methods=` but this
alters it globally.
2017-12-10 01:42:22 -05:00
Kattni
6500488dec
Update to resolve pylint error
2017-12-10 01:28:54 -05:00
Kattni
3b61cb0b30
Added ability to change touch threshold
2017-12-10 00:59:20 -05:00
Kattni
0535d1c587
Added error to cpx.shake for incompatible CircuitPython versions ( #19 )
2017-12-06 17:20:56 -08:00
Kattni
7128a9aae6
Removed unnecessary lis3dh lines from init
2017-12-06 15:40:25 -08:00
Scott Shawcroft
f7688a9335
Update to new build process and add lint.
...
This also fixes lint errors with no external API changes.
2017-12-06 11:47:25 -08:00
Kattni
5ea666cb05
Added .frozen to sys path to prefer frozen modules
...
Express class will now prefer frozen modules over local versions. This will
resolve memory allocation failures when including the entire library bundle
on the CPX.
2017-12-04 15:38:24 -08:00
Kattni
11ca7a274c
Added shake detection ( #15 )
2017-11-28 16:52:33 -08:00
Kattni
17b5462d0c
Doc updates, global brightness included.
2017-11-01 15:12:26 -07:00
Kattni
425afbdb40
Added play_file
2017-10-19 17:55:08 -07:00
Kattni
e87cfdd213
Acceleration implemented. ( #11 )
...
Sphinx docs added, conf.py updated, image included.
2017-10-12 14:28:35 -07:00
Kattni
4090101b30
Touch implemented
...
Created images for each touchpad. Added touchio to conf.py
2017-10-12 10:42:59 -07:00
Kattni
a890f5e073
Made pixels private, created property with docs ( #9 )
...
Made pixels private, created property with docs
2017-10-11 10:58:38 -07:00
Kattni
f644c52ed9
Updated circuit singleton to cpx in express class, README
2017-10-08 21:15:47 -06:00
Kattni
2cf2846102
Added _ to speaker_enable to make it private
2017-10-04 15:59:32 -07:00
Kattni
9c7dc7761f
start_tone / stop_tone implemented. ( #4 )
...
Add `start_tone` and `stop_tone` so we can check touch state while tons still play.
2017-10-02 17:52:43 -07:00
Scott Shawcroft
f8aab39b6b
Fix ReadTheDocs. The formatting was a bit wonky and audioio needed
...
to be mocked out.
2017-09-27 18:24:28 -04:00
Kattni
9e4782393b
Added speaker tones to Circuit Playground Express CircuitPython API. ( #2 )
...
Added speaker tones to Circuit Playground Express CircuitPython API. Included image for docs.
2017-09-18 17:13:57 -07:00
Scott Shawcroft
c98e4ee469
Make the sphinx check more thorough. Fixes #1
2017-08-02 13:07:15 -07:00