Scott Shawcroft
de48e4b262
Merge remote-tracking branch 'adafruit/master' into fix_cpx_display
2019-04-08 17:15:08 -07:00
Scott Shawcroft
5015036c06
Merge pull request #1758 from pewpew-game/fourwire-frequency
...
Stop hard-coding SPI frequency in FourWire
2019-04-08 17:02:07 -07:00
Scott Shawcroft
0f003ac5b8
Reorganize board busses into shared-bindings and shared-module.
2019-04-08 16:58:50 -07:00
Radomir Dopieralski
8323721232
Stop hard-coding SPI frequency in FourWire
...
Instead remember and use the frequency, polarity and phase that was
set when the bus was first created.
2019-04-06 15:15:29 +02:00
Radomir Dopieralski
4b3cb7b6db
Expose displayio.Display.bus
...
With the bus exposed, we can send custom commands to the display, to
leverage advanced features specific to the display, which are not
exposed by default.
2019-04-06 14:25:08 +02:00
Scott Shawcroft
7686f93ef4
Fix crash when getting board.SPI outside the VM
...
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-05 19:06:37 -07:00
Scott Shawcroft
04a4e8a38d
Always check TileGrid's x, y
...
When using an int index you could end up writing past the end of
TileGrid's memory.
Fixes #1747
2019-04-05 13:10:47 -07:00
Melissa LeBlanc-Williams
8f1fc6c07d
Added option to easily treat SPI parameter data as commands
2019-04-04 23:15:00 -07:00
Nick Moore
781d301bb6
Remove unnecessary MP_WEAK declarations
2019-04-02 13:33:22 +11:00
Nick Moore
f846fa109e
enable NRFX RTC adafruit/circuitpython#1046
2019-04-02 13:27:28 +11:00
Dan Halbert
0653bca323
Revert "Circuitpython nickzoic 1046 nrf rtc"
2019-03-29 16:41:29 -04:00
Melissa LeBlanc-Williams
e254597c24
Merge branch 'master' of https://github.com/adafruit/circuitpython into ssd1351-fix
2019-03-28 17:27:59 -07:00
Melissa LeBlanc-Williams
2e0268cb09
Simplified cs toggling into fourwire only
2019-03-27 20:17:22 -07:00
Melissa LeBlanc-Williams
f3ec0514cd
Simplified into fourwire only
2019-03-27 20:11:32 -07:00
Nick Moore
93684737eb
Fix up messages & wild stab at translations for adafruit/circuitpython#1046
...
The mysterious MP_WEAK linking bug still exists, thus the new message for 'set'.
2019-03-28 09:56:48 +11:00
Nick Moore
ff6395fa4e
workaround for problem with adafruit/circuitpython#1046
...
the __weak linking works fine so long as these functions are not identical.
I have not yet worked out why.
2019-03-28 09:50:09 +11:00
Nick Moore
b09d2c3c62
enable NRFX RTC adafruit/circuitpython#1046
2019-03-28 09:50:09 +11:00
Melissa LeBlanc-Williams
2f7b338a4b
Comment Cleanup
2019-03-26 18:56:25 -07:00
Melissa LeBlanc-Williams
f4cede4747
Removed parameter so CS is always toggled
2019-03-26 18:46:13 -07:00
Melissa LeBlanc-Williams
b2ad16f5c8
Removed parameter so CS is always toggled
2019-03-26 18:34:07 -07:00
Melissa LeBlanc-Williams
5f0e71ccb4
Merge branch 'master' of https://github.com/adafruit/circuitpython into ssd1351-fix
2019-03-26 18:23:02 -07:00
Melissa LeBlanc-Williams
0df40534f3
Merge branch 'master' of https://github.com/adafruit/circuitpython
2019-03-26 18:22:30 -07:00
Scott Shawcroft
3f42a49a6b
Merge pull request #1674 from pewpew-game/bug1669
...
Properly calculate BPP for displayio.Bitmap
2019-03-26 15:49:42 -07:00
Scott Shawcroft
8ea5fedf19
Merge pull request #1682 from rhwlo/add-socket.recv_into
...
shared-bindings/socket: add socket.recv_into
2019-03-26 14:28:07 -07:00
Radomir Dopieralski
d553df95b0
Reuse "Not connected" message in bleio
2019-03-25 21:41:40 +01:00
Radomir Dopieralski
81fe8060d7
Properly calculate BPP for displayio.Bitmap
...
Fix #1669
2019-03-25 19:40:40 +01:00
Melissa LeBlanc-Williams
c3329e224d
Added Single Byte Boundaries option for certain displays
2019-03-24 23:59:28 -07:00
Radomir Dopieralski
cc6fb4595e
Reuse existing error message in busio.i2c
...
Remove a period from the error message, so that the same message as in
SPI and other places in I2C can be re-used.
2019-03-25 01:41:52 +01:00
Melissa LeBlanc-Williams
d9de1b9926
Updated RTD comment to reflect new param defaulting True
2019-03-24 08:23:46 -07:00
Melissa LeBlanc-Williams
0c33f7fdb4
Enable CS toggle for displayio by default
2019-03-23 20:23:23 -07:00
Melissa LeBlanc-Williams
2bb63cbeb3
Added new parameter description in displayio RTD comment
2019-03-23 18:53:04 -07:00
Melissa LeBlanc-Williams
fadb5a1024
Added option to toggle cs in displayio init sequence
2019-03-23 18:34:42 -07:00
Joshua Coats
e23bad3a3a
shared-bindings/socket: add socket_recv_into
2019-03-23 10:49:43 -07:00
Scott Shawcroft
4b0afc855d
Fix up sphinx
2019-03-19 18:37:41 -07:00
Scott Shawcroft
5e2fec714c
Move Glyph and BuiltinFont into fontio
...
It was confusing in displayio.
Fixes #1662
2019-03-19 16:22:09 -07:00
Dan Halbert
494a9d3825
Merge pull request #1640 from tannewt/final_displayio_changes
...
Final displayio changes before 4.0.0
2019-03-13 18:24:04 -04:00
Dan Halbert
97140e6a62
wrong arg type for PWMOut variable_frequency
2019-03-12 21:28:30 -04:00
Scott Shawcroft
946790bfb5
Add better PewPew error messages and update translations
2019-03-12 17:21:15 -07:00
Scott Shawcroft
afbf59019e
Update displayio docs to add detail to display bus comments
...
Fixes #1599
2019-03-12 17:18:33 -07:00
Scott Shawcroft
224e9b1009
Standardize TileGrid to x and y properties over position
...
This brings it inline with Group. Also fixes #1613
This also includes a number of fixes for where a method is called
through a subclass. We now correctly get the native object.
Fixes #1567
Lastly, this adds subscript support to TileGrid for changing tile
indices. Similar to Bitmap, it accepts ints or 2-tuples.
2019-03-12 17:18:33 -07:00
Scott Shawcroft
ea45877ca5
Accept x and y kwargs into Group for initial position.
2019-03-12 17:17:32 -07:00
Dan Halbert
1f31877d55
Rework background display task to allow reads from SPI SD card during display. Clarify code. Handle multiple displays better.
2019-03-07 00:08:16 -05:00
Dan Halbert
c854f6617a
check display-bus transaction status and act accordingly
2019-03-06 13:45:48 -05:00
Dan Halbert
2eaa98ad71
Merge pull request #1601 from penguindustin/master
...
added height and width attributes for displayio
2019-03-06 12:43:55 -05:00
Dustin Mendoza
4145f87fcd
changed from mp_int_t to uint16_t
2019-03-05 21:25:09 -08:00
Dan Halbert
e6339656fc
Merge pull request #1614 from sommersoft/new_freq_in
...
Add frequencyio.FrequencyIn
2019-03-04 15:56:48 -05:00
sommersoft
8de4cf6b10
update RTD documentation
2019-03-02 18:33:37 -06:00
Dustin Mendoza
9737a45b33
changed width and height to be properties
2019-03-02 14:50:10 -08:00
Bryan Siepert
945550f4bd
Fixed the OnDiskBitmap example to reflect code changes
2019-03-02 09:12:40 -08:00
sommersoft
a44bfc2730
Merge branch 'master' of https://github.com/adafruit/circuitpython into new_freq_in
2019-03-01 21:24:30 -06:00