Commit graph

128 commits

Author SHA1 Message Date
5e925cea7a clang-format 2021-01-26 09:07:38 -06:00
9e71254732 core: Const-qualify pointers
This fixes diagnostics similar to `core.c:947:20: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]`
2021-01-26 09:00:04 -06:00
092066ecc2 core: Include declaration for abs()
This fixes diagnostics such as `core.c:937:7: error: declaration of non-variable 'abs' in 'for' loop initial declaration`
2021-01-26 08:59:33 -06:00
Paint Your Dragon
75965eb640
Merge pull request #31 from adafruit/pb-tile
Matrix tiling support
2021-01-21 20:20:09 -08:00
Phillip Burgess
473c5dc3b4 Remove unused vars 2021-01-21 19:48:03 -08:00
Phillip Burgess
560ad3e2de Grand Central notes in simple example 2021-01-21 19:17:31 -08:00
Phillip Burgess
689f61c506 Word and long converters adapted for tiling but not extensively tested 2021-01-14 21:25:14 -08:00
Phillip Burgess
eacbdfdef4 Row tiling seems to work (for single chain, not for parallel chains) 2021-01-14 19:31:18 -08:00
Phillip Burgess
63240eb990 Tiling kinda starting to sorta work 2021-01-13 21:30:17 -08:00
Phillip Burgess
7dd3ad3fec Tiling WIP, not working 2021-01-13 14:47:12 -08:00
Phillip Burgess
020427f66a Initial tiling support WIP 2021-01-12 11:58:24 -08:00
Limor "Ladyada" Fried
b041e58718
Merge pull request #29 from aocole/fix-gifopenfile-signature
Fix signature of GIFOpenFile
2020-11-09 12:51:31 -05:00
Andrew Cole
c1d99cf422 Fix signature of GIFOpenFile 2020-11-06 13:51:51 -08:00
Phillip Burgess
902c16f491 animated_gif example bugfixes & changes 2020-11-02 10:36:43 -08:00
Phillip Burgess
9880ee62d9 Rename doublebuffer example to doublebuffer_scrolltext
Also, extra comments explaining some of the calls required for scrolling text like this.
2020-10-20 19:17:18 -07:00
Phillip Burgess
db208212f3 Move color565() from examples into Adafruit_Protomatter (not core) 2020-10-19 20:12:52 -07:00
Phillip Burgess
7fd87fa56b Merge branch 'master' of https://github.com/adafruit/Adafruit_Protomatter 2020-10-19 16:18:17 -07:00
Phillip Burgess
b9b663e87a Remove pixeldust_64x64 example, single demo can handle both with 1-line edit 2020-10-19 16:18:14 -07:00
Jeff Epler
864cc77c62
Merge pull request #25 from jepler/resume-pin-state
core: _PM_resume: put address pins in known state
2020-10-19 15:47:38 -05:00
b0c261b2e6 Merge remote-tracking branch 'origin/master' into resume-pin-state 2020-10-19 15:44:11 -05:00
Phillip Burgess
4193bfaea1 Overhaul examples - clean up, better comments, rename "protomatter" example to "simple", etc. 2020-10-19 13:28:33 -07:00
Limor "Ladyada" Fried
9651720252
Merge pull request #26 from jepler/fix-ci-python38
github actions: fix CI by requesting python verson 3.9
2020-10-19 14:05:26 -04:00
273aba770d github actions: fix CI by requesting python verson 3.9
this is the same fix used in Adafruit_Learning_System_Guides
2020-10-19 12:50:55 -05:00
b58c78c9d2 core: _PM_resume: put address pins in known state
Before this, using the "brightness" property in CircuitPython would cause the display to become jumbled.  Reproducer script for matrixportal:
```
import sys
import time
import random
from adafruit_matrixportal.matrix import Matrix

MATRIX = Matrix(bit_depth=1)
DISPLAY = MATRIX.display

sys.stdout.write("JUMBLED\nTEXT")
time.sleep(3)

while True:
    DISPLAY.brightness = 0
    DISPLAY.brightness = 1
    time.sleep(random.random())
```

After the fix there is only a slight flicker due to the time the display spends with zero brightness.

Thanks to @firepixie for the report!
2020-10-19 11:33:37 -05:00
Paint Your Dragon
de6b7704c5
Merge pull request #23 from adafruit/pb-gamma
Reorganize source, minor fixes
2020-10-09 11:01:04 -07:00
Phillip Burgess
92be2a6863 clang-format fixes 2020-10-09 10:53:51 -07:00
Phillip Burgess
df57adc40b Minor version bump 2020-10-09 10:38:25 -07:00
Phillip Burgess
6dfe2ed3a0 animated_gif example: fix misplaced #endif, add comment about supported boards 2020-10-08 21:56:40 -07:00
Phillip Burgess
1257af6e90 Clean up comments, redundant declarations, loose ends 2020-10-08 20:29:24 -07:00
Phillip Burgess
d980bc15a0 Handle rotation in the GIF player 2020-10-08 15:55:17 -07:00
Phillip Burgess
9fb6a33975 Reorganize source (WIP) 2020-10-06 21:20:34 -07:00
Paint Your Dragon
d4f5ade40b
Merge pull request #22 from adafruit/pb-gamma
Add animated_gif example using the AnimatedGIF library
(Version number is intentionally not bumped yet! More to do first.)
2020-10-06 10:26:54 -07:00
Phillip Burgess
1ea4f5c61e Add a .test.only file for the animated_gif example 2020-10-06 10:17:49 -07:00
Phillip Burgess
ff3cbc63d0 Update library dependencies for AnimatedGIF example 2020-10-06 09:35:41 -07:00
Phillip Burgess
8f7ac498eb Sundry cleanup & simplification in animated_gif example 2020-10-06 09:28:41 -07:00
Phillip Burgess
9bf705cc9c Add BACK/NEXT button defines 2020-10-05 20:29:55 -07:00
Phillip Burgess
214511324a AnimagedGIF cycles among GIFs, does centering/clipping 2020-10-05 20:26:33 -07:00
Phillip Burgess
2c02ee9cb0 clang-formatted and more comments in animaged_gif example 2020-10-02 21:35:13 -07:00
Phillip Burgess
7114b9ede8 Add animated GIF example (uses AnimatedGIF lib) 2020-10-02 21:03:38 -07:00
Melissa LeBlanc-Williams
5f07ec6188 Bumping version for release 2020-09-30 10:54:11 -06:00
Melissa LeBlanc-Williams
60be539469
Merge pull request #21 from makermelissa/master
Added Pixeldust example for 64x64 matrix
2020-09-30 10:53:04 -06:00
Melissa LeBlanc-Williams
4395e82558 Added Pixeldust example for 64x64 matrix 2020-09-30 10:31:02 -06:00
Limor "Ladyada" Fried
2960fd2186
Merge pull request #20 from makermelissa/master
Added pixeldust demo
2020-09-24 19:36:35 -04:00
Melissa LeBlanc-Williams
52b8af0067 Clang formatted 2020-09-24 16:25:19 -06:00
Melissa LeBlanc-Williams
066de2063c Added PixelDust as dependency for example 2020-09-24 16:00:55 -06:00
Melissa LeBlanc-Williams
803799c368 Added LIS3DH as dependency for example 2020-09-24 15:57:40 -06:00
Melissa LeBlanc-Williams
43520c2fac Added pixeldust demo 2020-09-24 15:50:37 -06:00
Paint Your Dragon
ca711ce00f
Merge pull request #18 from jepler/fix-cpy-3184
_PM_stop: Don't HardFault when _PM_begin failed
2020-08-31 13:27:34 -07:00
2a1ba8fa47 _PM_stop: Don't HardFault when _PM_begin failed
When _PM_begin fails, it leaves the object in a partially-uninitialized
state.  To recover any allocated storage, we need to call _PM_free;
but if the allocation of core->screenData failed, then other internal
pointers such as core->oe.setReg are not set, and the actions in
_PM_stop will cause a HardFault.

This is a partial fix for adafruit/circuitpython#3184.
2020-08-28 11:03:43 -05:00
Jeff Epler
f257b3234f
Merge pull request #14 from hierophect/cpy-timer-allocator
STM32: switch to timer allocator
2020-08-13 10:13:07 -05:00