Commit Graph

23837 Commits

Author SHA1 Message Date
Dan Halbert 04b69cde9b turn off gamepad on most builds;turn off keypad where appropriate 2021-06-17 13:46:45 -04:00
Dan Halbert a152bd3b72 add .num_keys and .store_states() to Keys and KeyMatrix 2021-06-17 12:02:54 -04:00
Dan Halbert cd31136c30 factor out keypad.EventQueue 2021-06-16 15:55:54 -04:00
Dan Halbert 3d18c5c327 Use a single list of keypad scanners 2021-06-16 13:29:38 -04:00
Dan Halbert 4655a71793 Turn off keypad on some builds to avoid overflow 2021-06-15 14:11:04 -04:00
Dan Halbert f97e0ec631 fix ulab commit 2021-06-15 11:51:28 -04:00
Dan Halbert a192f1ca2f merge from upstream 2021-06-15 11:21:08 -04:00
Dan Halbert 1803a6a71d both Keys and KeyMatrix work 2021-06-15 11:15:09 -04:00
Dan Halbert a4d6452452
Merge pull request #4890 from t-ikegami/fix_typo_pin_name_wio
Fix typo in a pin name of Wio Terminal
2021-06-15 09:08:18 -04:00
Tsutomu IKEGAMI fd222dd066 Fix typo in Wio Terminal pin board.I2S_BLCK to I2S_BCLK (bit clock) 2021-06-15 20:51:55 +09:00
Dan Halbert 350652ee21 Keys works; more testing to do 2021-06-14 22:59:17 -04:00
Dan Halbert 32eec85230 compiles 2021-06-14 20:54:43 -04:00
Dan Halbert b151bee0a2
Merge pull request #4887 from mcauser2/tinys2spi
Change TinyS2 default SPI pins
2021-06-14 19:30:26 -04:00
Dan Halbert 278ebef878
Merge pull request #4889 from kattni/slider-trinkey-add-a0
Add A0 as alias to potentiometer pin.
2021-06-14 16:36:46 -04:00
Dan Halbert 627c426259 wip 2021-06-14 16:00:15 -04:00
Kattni Rembor 12d0e65a2a Space out pin groups. 2021-06-14 15:37:02 -04:00
Kattni Rembor f96642de25 Add A0 as alias to pot pin. 2021-06-14 15:32:12 -04:00
Mike Causer ceea6397a3 Change TinyS2 default SPI pins 2021-06-15 01:17:39 +10:00
Jeff Epler 84e1d77664
Merge pull request #4885 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-13 16:10:39 -05:00
Jonny Bergdahl 4a4ec9e1ea
Translated using Weblate (Swedish)
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-13 06:32:13 +02:00
Wellington Terumi Uemura b24c9694af
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-13 06:32:12 +02:00
Alvaro Figueroa e115d34ee1
Translated using Weblate (Spanish)
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-13 06:32:12 +02:00
Jeff Epler 5f81f9ed1c
Merge pull request #4882 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-11 19:57:06 -05:00
Hosted Weblate 75da0b9b3e
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-06-11 18:18:01 +02:00
Dan Halbert d1463596be
Merge pull request #4881 from jepler/update-ulab-3.0
update to ulab 3.0.0
2021-06-11 12:17:49 -04:00
Jeff Epler 1a06d06468 ulab: disable on several stm boards with constrained flash storage 2021-06-11 07:46:21 -05:00
Jeff Epler 046dc28d4c make translate 2021-06-10 13:00:21 -05:00
Jeff Epler 430480afaa update to ulab 3.0.0 2021-06-10 12:54:55 -05:00
Dan Halbert eef3ca54a5
Merge pull request #4878 from jepler/fix-stubs-setup.py
setup.py: Improve installation of stubs
2021-06-10 11:48:49 -04:00
Jeff Epler 8e5c389c95 setup.py: Improve installation of stubs
* Don't include a full path from the build system
 * Rename all packages to "foo-stubs"
 * Don't install stubs for standard packages like "os"

After this, I can `python setup.py install --user` to install the stubs
to my local environment, and successfully check code against the stubs,
such as
```
/$ mypy -c 'import busio; b: busio.I2C; b.readfrom_into(0x30, b"")'
<string>:1: error: Argument 2 to "readfrom_into" of "I2C" has incompatible type "bytes"; expected "Union[bytearray, memoryview, array[Any], ndarray, RGBMatrix]"
Found 1 error in 1 file (checked 1 source file)
```

The structure of a wheel built with `python setup.py bdist_wheel` looks
more like lxml-stubs, as well.
```
Archive:  dist/circuitpython_stubs-7.0.0a3.dev28+g124c7b785-py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
    30705  2021-06-10 13:50   _bleio-stubs/__init__.pyi…
```

Finally, by eliminating `site.getsitepackages()`, this **may** fix
the doc building problem on readthedocs.
2021-06-10 09:27:33 -05:00
Dan Halbert b815164bdf Turn off keypad on a few small builds 2021-06-10 10:09:55 -04:00
Dan Halbert c6e2237ac7 fix non-longint builds 2021-06-10 09:05:19 -04:00
Dan Halbert 01a8a95b2c fix signed/unsigned compilation problem 2021-06-10 01:14:16 -04:00
Dan Halbert d3d9e0a487 add debouncing 2021-06-10 00:07:23 -04:00
Dan Halbert bdb70669a1 fix bad merge 2021-06-09 23:47:49 -04:00
Dan Halbert 4deca98f59 Merge branch 'keypad-scanning' of https://github.com/dhalbert/circuitpython into keypad-scanning 2021-06-09 23:42:24 -04:00
Scott Shawcroft fb7dc9bcd5
Merge pull request #4875 from benclifford/pulldown
Correct pull-down direction in parameter documentation for rp2pio
2021-06-09 18:21:55 -07:00
Ben Clifford 5c835adb10 Correct pull-down direction in parameter documentation for rp2pio 2021-06-09 20:39:56 +00:00
Jeff Epler 576003e989
Merge pull request #4873 from netroy/fix-4810
Update the sdkconfig for LILYGO TTGO T8 ESP32-S2
2021-06-09 14:44:42 -05:00
Jeff Epler 26a75f74ec
Merge pull request #4862 from DavePutz/issue_3383
Fix for issue #3383 - SAMD5x microcontroller.cpu.voltage
2021-06-09 14:42:27 -05:00
root bc34403d71 Removed all references to MICROCONTROLLER_VOLTAGE_DISABLE 2021-06-09 10:46:14 -05:00
Aditya 3e463ed89e fix #4810 2021-06-09 17:37:22 +02:00
Jeff Epler c6dee5288f
Merge pull request #4870 from jepler/kaluga-1.3
Add kaluga version 1.3
2021-06-09 08:37:51 -05:00
Dan Halbert 7d23206018 Inital keypad work: Keys working: one pin per key
keypad.Buttons and keypad.State

Buttons -> Keys; further work

wip

wip

wip: compiles

about to try

keypad.Keys working
2021-06-08 20:27:31 -04:00
Dan Halbert abe29fc6d9 merge from upstream 2021-06-08 18:03:43 -04:00
Dan Halbert 44b876f769 Inital keypad work: Keys working: one pin per key
keypad.Buttons and keypad.State

Buttons -> Keys; further work

wip

wip

wip: compiles

about to try

keypad.Keys working
2021-06-08 17:47:21 -04:00
Jeff Epler 124c7b785a Add kaluga version 1.3
.. this board is nearly the same as the "1.2" version originally
released, but makes a few changes to reduce pin conflicts between the 13-pin
camera header and the bootstrapping pins.  "1.3" was introduced in summer
2020-- check the bottom of your board silk to find out whether you have a 1.2
or a 1.3, because it's not clear whether there is remaining 1.2 stock.

Another vexing fact about the 1.3 is that its LCD can have one of two
chipets, and the chipset used is not marked anywhere!
2021-06-08 13:28:48 -05:00
root 72db13fc2d enable microcontroller.cpu.voltage on SAME54 2021-06-08 10:04:40 -05:00
Limor "Ladyada" Fried c1c101ca2d
Merge pull request #4864 from ladyada/main
macropad rev B definion and fix for SH110x addressing
2021-06-07 21:59:56 -04:00
lady ada 467a4e7664 fix comment 2021-06-07 19:51:57 -04:00