Skip to content

Commit 7ed1483

Browse files
authored
Merge pull request #2706 from jepler/protomatter
Protomatter: Integrate with CircuitPython
2 parents ada102d + 3c018bf commit 7ed1483

File tree

91 files changed

+2995
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2995
-224
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,6 @@
119119
[submodule "ports/stm/st_driver"]
120120
path = ports/stm/st_driver
121121
url = https://github.com/hathach/st_driver.git
122+
[submodule "lib/protomatter"]
123+
path = lib/protomatter
124+
url = https://github.com/adafruit/Adafruit_Protomatter

lib/protomatter

Submodule protomatter added at c411714

locale/ID.po

Lines changed: 56 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-04-13 19:22-0500\n"
11+
"POT-Creation-Date: 2020-04-14 18:26-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -53,6 +53,11 @@ msgstr "output:\n"
5353
msgid "%%c requires int or char"
5454
msgstr ""
5555

56+
#: shared-bindings/_protomatter/Protomatter.c
57+
#, c-format
58+
msgid "%d address pins and %d rgb pins indicate a height of %d, not %d"
59+
msgstr ""
60+
5661
#: shared-bindings/microcontroller/Pin.c
5762
msgid "%q in use"
5863
msgstr ""
@@ -283,7 +288,7 @@ msgstr "Semua timer untuk pin ini sedang digunakan"
283288
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
284289
#: ports/cxd56/common-hal/pulseio/PulseOut.c
285290
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
286-
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
291+
#: ports/nrf/peripherals/nrf/timers.c shared-bindings/pulseio/PWMOut.c
287292
#: shared-module/_pew/PewPew.c
288293
msgid "All timers in use"
289294
msgstr "Semua timer sedang digunakan"
@@ -323,6 +328,10 @@ msgstr ""
323328
msgid "Array values should be single bytes."
324329
msgstr ""
325330

331+
#: shared-bindings/_protomatter/Protomatter.c
332+
msgid "At most %d %q may be specified (not %d)"
333+
msgstr ""
334+
326335
#: supervisor/shared/safe_mode.c
327336
msgid "Attempted heap allocation when MicroPython VM not running."
328337
msgstr ""
@@ -340,6 +349,7 @@ msgstr ""
340349
"menjalankannya atau masuk ke REPL untukmenonaktifkan.\n"
341350

342351
#: shared-module/displayio/Display.c
352+
#: shared-module/framebufferio/FramebufferDisplay.c
343353
msgid "Below minimum frame rate"
344354
msgstr ""
345355

@@ -355,7 +365,9 @@ msgstr ""
355365
msgid "Both pins must support hardware interrupts"
356366
msgstr "Kedua pin harus mendukung hardware interrut"
357367

368+
#: shared-bindings/_protomatter/Protomatter.c
358369
#: shared-bindings/displayio/Display.c
370+
#: shared-bindings/framebufferio/FramebufferDisplay.c
359371
msgid "Brightness must be 0-1.0"
360372
msgstr ""
361373

@@ -364,6 +376,7 @@ msgid "Brightness must be between 0 and 255"
364376
msgstr ""
365377

366378
#: shared-bindings/displayio/Display.c
379+
#: shared-bindings/framebufferio/FramebufferDisplay.c
367380
msgid "Brightness not adjustable"
368381
msgstr ""
369382

@@ -378,10 +391,12 @@ msgid "Buffer incorrect size. Should be %d bytes."
378391
msgstr ""
379392

380393
#: shared-bindings/displayio/Display.c
394+
#: shared-bindings/framebufferio/FramebufferDisplay.c
381395
msgid "Buffer is not a bytearray."
382396
msgstr ""
383397

384398
#: shared-bindings/displayio/Display.c
399+
#: shared-bindings/framebufferio/FramebufferDisplay.c
385400
msgid "Buffer is too small"
386401
msgstr ""
387402

@@ -641,11 +656,13 @@ msgid "DigitalInOut not supported on given pin"
641656
msgstr ""
642657

643658
#: shared-bindings/displayio/Display.c
659+
#: shared-bindings/framebufferio/FramebufferDisplay.c
644660
msgid "Display must have a 16 bit colorspace."
645661
msgstr ""
646662

647663
#: shared-bindings/displayio/Display.c
648664
#: shared-bindings/displayio/EPaperDisplay.c
665+
#: shared-bindings/framebufferio/FramebufferDisplay.c
649666
msgid "Display rotation must be in 90 degree increments"
650667
msgstr ""
651668

@@ -763,6 +780,7 @@ msgstr ""
763780

764781
#: shared-bindings/displayio/Display.c
765782
#: shared-bindings/displayio/EPaperDisplay.c
783+
#: shared-bindings/framebufferio/FramebufferDisplay.c
766784
msgid "Group already used"
767785
msgstr ""
768786

@@ -851,7 +869,7 @@ msgstr ""
851869
msgid "Invalid UART pin selection"
852870
msgstr ""
853871

854-
#: py/moduerrno.c
872+
#: py/moduerrno.c shared-module/_protomatter/Protomatter.c
855873
msgid "Invalid argument"
856874
msgstr ""
857875

@@ -906,7 +924,7 @@ msgstr ""
906924

907925
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
908926
#: ports/atmel-samd/common-hal/touchio/TouchIn.c
909-
#: shared-bindings/pulseio/PWMOut.c
927+
#: shared-bindings/pulseio/PWMOut.c shared-module/_protomatter/Protomatter.c
910928
msgid "Invalid pin"
911929
msgstr "Pin tidak valid"
912930

@@ -1021,6 +1039,11 @@ msgstr ""
10211039
msgid "Must provide MISO or MOSI pin"
10221040
msgstr ""
10231041

1042+
#: shared-bindings/_protomatter/Protomatter.c
1043+
#, c-format
1044+
msgid "Must use a multiple of 6 rgb pins, not %d"
1045+
msgstr ""
1046+
10241047
#: py/parse.c
10251048
msgid "Name too long"
10261049
msgstr ""
@@ -1104,6 +1127,10 @@ msgstr ""
11041127
msgid "No such file/directory"
11051128
msgstr ""
11061129

1130+
#: shared-module/_protomatter/Protomatter.c
1131+
msgid "No timer available"
1132+
msgstr ""
1133+
11071134
#: supervisor/shared/safe_mode.c
11081135
msgid "Nordic Soft Device failure assertion."
11091136
msgstr ""
@@ -1180,6 +1207,14 @@ msgstr "Pin tidak mempunya kemampuan untuk ADC (Analog Digital Converter)"
11801207
msgid "Pin number already reserved by EXTI"
11811208
msgstr ""
11821209

1210+
#: shared-bindings/_protomatter/Protomatter.c
1211+
#, c-format
1212+
msgid ""
1213+
"Pinout uses %d bytes per element, which consumes more than the ideal %d "
1214+
"bytes. If this cannot be avoided, pass allow_inefficient=True to the "
1215+
"constructor"
1216+
msgstr ""
1217+
11831218
#: py/builtinhelp.c
11841219
msgid "Plus any modules on the filesystem\n"
11851220
msgstr "Tambahkan module apapun pada filesystem\n"
@@ -1198,6 +1233,11 @@ msgstr ""
11981233
"Tekan tombol apa saja untuk masuk ke dalam REPL. Gunakan CTRL+D untuk reset "
11991234
"(Reload)"
12001235

1236+
#: shared-module/_protomatter/Protomatter.c
1237+
#, c-format
1238+
msgid "Protomatter internal error #%d"
1239+
msgstr ""
1240+
12011241
#: shared-bindings/digitalio/DigitalInOut.c
12021242
msgid "Pull not used when direction is output."
12031243
msgstr ""
@@ -1392,13 +1432,11 @@ msgstr ""
13921432
msgid "Too many channels in sample."
13931433
msgstr "Terlalu banyak channel dalam sampel"
13941434

1395-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1396-
#: shared-bindings/displayio/ParallelBus.c
1435+
#: shared-module/displayio/__init__.c
13971436
msgid "Too many display busses"
13981437
msgstr ""
13991438

1400-
#: shared-bindings/displayio/Display.c
1401-
#: shared-bindings/displayio/EPaperDisplay.c
1439+
#: shared-module/displayio/__init__.c
14021440
msgid "Too many displays"
14031441
msgstr ""
14041442

@@ -2779,6 +2817,16 @@ msgstr "anotasi return harus sebuah identifier"
27792817
msgid "return expected '%q' but got '%q'"
27802818
msgstr ""
27812819

2820+
#: shared-bindings/_protomatter/Protomatter.c
2821+
#, c-format
2822+
msgid "rgb_pins[%d] duplicates another pin assignment"
2823+
msgstr ""
2824+
2825+
#: shared-bindings/_protomatter/Protomatter.c
2826+
#, c-format
2827+
msgid "rgb_pins[%d] is not on the same port as clock"
2828+
msgstr ""
2829+
27822830
#: extmod/ulab/code/ndarray.c
27832831
msgid "right hand side must be an ndarray, or a scalar"
27842832
msgstr ""

0 commit comments

Comments
 (0)