Commit Graph

13527 Commits

Author SHA1 Message Date
Scott Shawcroft b9b9ef227f
Turn off bitbanging on Hallowing to save code space. 2019-07-19 16:10:33 -07:00
Scott Shawcroft cdfc169ab6
Correct typo in line meant to turn off frequencyio on M0 which saves 2k code space. 2019-07-19 16:10:32 -07:00
Scott Shawcroft e4611b6e3e
Update translations 2019-07-19 16:10:25 -07:00
Scott Shawcroft 6797ec6ed3
Add support for grayscale displays that are < 8 bit depth.
This also improves Palette so it stores the original RGB888 colors.

Lastly, it adds I2CDisplay as a display bus to talk over I2C. Particularly
useful for the SSD1306.

Fixes #1828. Fixes #1956
2019-07-19 16:06:11 -07:00
Scott Shawcroft a98bfa628e
Merge pull request #2002 from ntavish/blip_improvements
Blip improvements
2019-07-19 10:52:08 -07:00
Tavish Naruka 724ce4acba enable libraries needed by BlipBoy Shield 2019-07-19 18:48:08 +05:30
Scott Shawcroft 74be29cbf9
Merge pull request #1993 from dhalbert/ble-scanner
bleio: add central and scanner functionality, cleanup bleio API, some code restructure
2019-07-18 10:08:58 -07:00
Dan Halbert 1c31cf5f6a sphinx fix 2019-07-16 21:03:36 -04:00
Dan Halbert 364ee62d10 Address review comments. 2019-07-16 19:53:36 -04:00
Dan Halbert cb99546ea5 update frozen libraries 2019-07-11 18:56:29 -04:00
Dan Halbert 12b98be744 merge from master and make translate 2019-07-11 18:42:41 -04:00
Dan Halbert 1cf8a3e8d8 Merge remote-tracking branch 'adafruit/master' into ble-scanner 2019-07-11 18:42:16 -04:00
Dan Halbert 514d4146d3 Fix sphinx warnings. 2019-07-11 18:23:45 -04:00
siddacious d12e1a8d74
Merge pull request #1990 from kattni/pyruler
Adding PyRuler to CircuitPython.
2019-07-10 12:28:43 -07:00
Kattni Rembor 582acdaa0a Requested changes. 2019-07-09 16:12:24 -04:00
Kattni Rembor d905958db1 Adding PyRuler to CircuitPython. 2019-07-09 16:02:39 -04:00
Scott Shawcroft 6fad383367
Merge pull request #1925 from C47D/rgb_status
Initial support for RGB led as Status indicator, fixes #1382
2019-07-09 10:31:34 -07:00
Scott Shawcroft f0cf9a4e75
Merge pull request #1988 from jandjstudios/datum
Add support for boards in the datum series.
2019-07-09 09:33:13 -07:00
Dan Halbert d8a4f71ec7 translation merges 2019-07-09 09:11:04 -04:00
Dan Halbert 6a001786a9 merge from master 2019-07-09 08:58:49 -04:00
Dan Halbert ddd4d616db make translate 2019-07-09 08:43:54 -04:00
Dan Halbert 118b26b335 UARTClient now works both directions 2019-07-09 00:21:46 -04:00
C47D 40fbac13cd [rgb status] Adjust to current brightness 2019-07-08 22:06:43 -05:00
jandjstudios 96cf9053f4 Added datum boards to travis.yml 2019-07-08 19:27:14 -07:00
Scott Shawcroft f4a64a2e80
Merge pull request #1989 from rce1086/master
Added conditional compilation around selection of TX pad candidates
2019-07-08 14:07:04 -07:00
Tavish Naruka 7f97cc1940 Generate .hex for Blip. 2019-07-08 14:16:31 +05:30
C47D 324cbe4327 [rgb status] Also invert the pwm values on clear_temp_status 2019-07-07 21:15:51 -05:00
Scott Shawcroft 380f1d6ae6
Merge pull request #1984 from iot49/uart
changed type of receiver_buffer_size to uint16_t
2019-07-07 18:14:52 -07:00
Carl Elkins 64507207da Added conditional compilation around selection of TX pad candidates
Original code was correct for SAMD21
New code for SAMD51 only permits pad-0 for TX
2019-07-08 02:08:39 +01:00
Dan Halbert 09ddff8df1 WIP: Need descriptors for Central CCCD discovery; not done yet 2019-07-07 00:07:47 -04:00
C47D fae1039401 [rgb led status] Add CP_RGB_STATUS_PWM_INVERTED symbol to invert pwm signals. 2019-07-06 16:50:48 -05:00
jandjstudios 46b7575550 Initial commit to support boards in the datum series. 2019-07-06 13:41:03 -07:00
Scott Shawcroft 5610e05b8c
Fix up nrf so that it is initialized properly. Also, do not reset
it's pins.
2019-07-06 12:48:16 -07:00
iot49 4c72a3991e updated samd and esp8266 ports 2019-07-05 10:01:51 -07:00
iot49 6e5d70fa19 changed type of receiver_buffer_size to uint16_t 2019-07-03 12:02:01 -07:00
Scott Shawcroft 69460b943b
Merge pull request #1983 from tannewt/fix_group_subscr_delete
Fix Group subscr to detect delete correctly
2019-07-03 09:47:34 -07:00
Dan Halbert bf8a35b2f8 WIP: CharacteristicBuffer for Central; not working: need to set remote Characteristic Service 2019-07-02 22:34:54 -04:00
Scott Shawcroft 745ff8f8c1
Fix Group subscr to detect delete correctly
Fixes #1957
2019-07-02 18:15:23 -07:00
Scott Shawcroft 2761ae6754
Merge pull request #1978 from pewpew-game/ugame-font
Switch the terminal font for ugame10
2019-07-02 11:52:58 -07:00
Radomir Dopieralski e45eac5016 Switch the terminal font for ugame10
I designed this really tiny, minimalist font for use on very small
displays. On uGame it lets one see the whole text that CircuitPython
prints on boot. The characters are 4x6 pixels each, and they are
optimized for legibility (large x-height, right angles, blocky shapes).

It might make sense to also use that font in other boards.
2019-07-01 23:05:07 +02:00
Scott Shawcroft f76021ef82
Merge pull request #1979 from pewpew-game/font-boundingbox
Use FONTBOUNDINGBOX for font metrics
2019-07-01 13:43:29 -07:00
Radomir Dopieralski 7c908b08ee Use FONTBOUNDINGBOX for font metrics
Instead of iterating over all the glyphs and calculating the maximum
width and height, use the FONTBOUNDINGBOX to determine the size of a
tile for terminalio.

This works better with fonts such as generated by FontForge, that don't
include the empty space in the glyph bitmap itself. It also lets the
font author specify vertical spacing they want.

I only tested this with the default font and with one I generated with
FontForge.
2019-06-30 01:10:47 +02:00
Dan Halbert 6ea01ea9b0 Central is connecting; characteristics can be read and written 2019-06-29 00:20:06 -04:00
Dan Halbert f0a112ef5d
Merge pull request #1975 from tannewt/merge_in_402
Merge in 4.0.2
2019-06-27 18:48:03 -04:00
Scott Shawcroft 0cce7fcaa3
Merge remote-tracking branch 'adafruit/4.0.x' into merge_in_402 2019-06-27 14:06:26 -07:00
Scott Shawcroft 72ea216dce
Merge pull request #1974 from tannewt/fix_missing_lines
Properly reset the terminal each init.
2019-06-27 13:54:57 -07:00
Dan Halbert c562b19238
Merge pull request #1972 from tannewt/validate_mpy_load
Validate mpy load
2019-06-26 20:39:50 -04:00
Scott Shawcroft 2004be96ac
Properly reset the terminal each init.
Fixes #1944
2019-06-26 17:36:30 -07:00
Scott Shawcroft fe507db45f
Shrink pIRkey build down.
Rollback HID to save string space and remove board mapping for
default buses that don't exist.
2019-06-26 16:49:23 -07:00
Scott Shawcroft 1f105e0ac0
Update frozen libraries to save space 2019-06-26 15:10:51 -07:00