summaryrefslogtreecommitdiff
path: root/shared-module
AgeCommit message (Collapse)Author
2019-07-19Fix it's -> itsScott Shawcroft
2019-07-18Track a dirty area for in-memory bitmapsScott Shawcroft
This fixes the bug that bitmap changes do not cause screen updates and optimizes the refresh when the bitmap is simply shown on the screen. If the bitmap is used in tiles, then changing it will cause all TileGrids using it to do a full refresh. Fixes #1981
2019-06-18Merge pull request #1952 from tannewt/fixup_tilegrid_dirtyScott Shawcroft
Fix TileGrid's dirty tracking when changing top left
2019-06-17Add baudrate to FourWire and shorten delay.Scott Shawcroft
2019-06-17Use width for x. Thanks @deshipuScott Shawcroft
2019-06-17Fix TileGrid's dirty tracking when changing top leftScott Shawcroft
2019-06-13Minor tweaks based on Dan's feedbackScott Shawcroft
2019-06-12Refactor deinit check to reduce code size.Scott Shawcroft
2019-06-12Add partial display update support.Scott Shawcroft
Different operations to the display tree have different costs. Be aware of these costs when optimizing your code. * Changing tiles indices in a TileGrid will update an area covering them all. * Changing a palette will refresh every object that references it. * Moving a TileGrid will update both where it was and where it moved to. * Adding something to a Group will refresh each individual area it covers. * Removing things from a Group will refresh one area that covers all previous locations. (Not separate areas like add.) * Setting a new top level Group will refresh the entire display. Only TileGrid moves are optimized for overlap. All other overlaps cause sending of duplicate pixels. This also adds flip_x, flip_y and transpose_xy to TileGrid. They change the direction of the pixels but not the location. Fixes #1169. Fixes #1705. Fixes #1923.
2019-06-11Merge latest 4.0.x fixes into masterDan Halbert
2019-06-06Include display objects in gc.Dan Halbert
2019-06-04[shared-module/audioio/WaveFile.h] Change sample_rate from uint16_t to ↵Carlos
uint32_t so it matches the sample rate type parsed from the WAV header format, fix #1922
2019-05-31Fix off-by-one errorScott Shawcroft
It caused the bottom and right edges to be one pixel short.
2019-05-22Make point 2 in areas exclusive and simplify full_coverage.Scott Shawcroft
2019-05-21Rework the pixel computation to use areasScott Shawcroft
This changes the displayio pixel computation from per-pixel to per-area. This is precursor work to updating portions of the screen (#1169). It should provide mild speedups because bounds checks are done once per area rather than once per pixel. Filling by area also allows TileGrid to maintain a row-associative fill pattern even when the display's refresh is orthogonal to it.
2019-05-15Remove old commentScott Shawcroft
2019-05-15Add index and remove to Group.Scott Shawcroft
2019-05-10Merge pull request #1837 from nickzoic/circuitpython-nickzoic-1800-wiznet-socketScott Shawcroft
WIP: Circuitpython nickzoic 1800 wiznet socket
2019-05-10randomize tcp source port for adafruit/circuitpython#1800Nick Moore
2019-05-10reset wiznet at network deinitialize adafruit/circuitpython#1800Nick Moore
2019-05-09Handle -scale to 0 correctly in GroupScott Shawcroft
Fixes #1839
2019-05-07Make wiznet5k RST pin optional adafruit/circuitpython#1800Nick Moore
2019-05-07Clean up list of NICs on network deinit adafruit/circuitpython#1800Nick Moore
2019-05-02Add a kw-only argument "dhcp" to wiznet5k objectNick Moore
2019-05-02assign variable socket number to DHCPNick Moore
2019-05-02Avoid socket #0 used by DHCPNick Moore
2019-04-18Merge pull request #1815 from dhalbert/stop-flickerScott Shawcroft
Turn off auto_brightness if brightness is set
2019-04-18add Display.__init__() args for brightness and auto_brightnessDan Halbert
2019-04-17Fix off by one error in OnDiskBitmapScott Shawcroft
It resulted in the first row of pixels being pulled for out of bounds. Fixes #1801
2019-04-16Simplify type check in tick and init lastScott Shawcroft
2019-04-16Include cleanup and style tweaksScott Shawcroft
2019-04-16Fully split gamepadshift from gamepadScott Shawcroft
2019-04-15Split GamePadShift from GamePad to save space on most boards.Scott Shawcroft
2019-04-13Merge branch 'master' into gamepad-shiftRadomir Dopieralski
2019-04-12Reorganize the gamepad codeRadomir Dopieralski
2019-04-12More refactoringRadomir Dopieralski
2019-04-12Optimize the size of code for gamepadRadomir Dopieralski
2019-04-12Add debouncing to GamePadShiftRadomir Dopieralski
2019-04-12Go back to simple bit-banging in GamePadShift, fix problemsRadomir Dopieralski
2019-04-12Read one bit per system clock tick in GamePadShiftRadomir Dopieralski
2019-04-12Add GamePadShift for handling shift-register-based buttonsRadomir Dopieralski
2019-04-12Use displayio.Display directlyRadomir Dopieralski
2019-04-09Fix boards with no shared busses.Scott Shawcroft
2019-04-08Delete stale TODOScott Shawcroft
2019-04-08Merge remote-tracking branch 'adafruit/master' into fix_cpx_displayScott Shawcroft
2019-04-08Reorganize board busses into shared-bindings and shared-module.Scott Shawcroft
2019-04-06Stop hard-coding SPI frequency in FourWireRadomir Dopieralski
Instead remember and use the frequency, polarity and phase that was set when the bus was first created.
2019-04-05Fix crash when getting board.SPI outside the VMScott Shawcroft
If one of the default pins was already in use it would crash. The internal API has been refined to allow us to get the value without causing an init of the singleton. Fixes #1753
2019-04-05Added comment regarding parameter loopMelissa LeBlanc-Williams
2019-04-04Added option to easily treat SPI parameter data as commandsMelissa LeBlanc-Williams