Commit graph

52 commits

Author SHA1 Message Date
foamyguy
ba88388ce3 Use higher frequency values 2025-07-25 10:54:49 -05:00
foamyguy
1539f0a96e change to ruff 2025-05-16 18:31:52 +00:00
Scott Shawcroft
5e7678e26c
Merge pull request #68 from adafruit/rp2350
add language features for .pio_version 1
2024-09-19 09:53:07 -07:00
19f5967fbd Remove call to never-defined function 2024-09-18 15:10:11 -05:00
3159513f9b Add an example using the RP2350 "mov ,txfifo[]" feature 2024-09-13 09:56:57 -05:00
foamyguy
a9f20eabe1 pylint allow 2024-09-08 08:18:38 -05:00
Tim
755d5c6197 add codec example 2024-08-09 14:26:54 -07:00
38962e7113
morse example: add missing pio_kwargs to constructor call
This appears to be the cause of a user's problems in #55.
2023-07-27 10:22:52 -05:00
Paul Cutler
5f1285d5d8 Fix issue #50 - E is a DIT and T is a DAH 2022-10-04 11:32:46 -05:00
f48569464e
undo folder structure
.. as requested by limor during guide review
2022-05-11 07:46:16 -05:00
c321011de6
get rid of unused variable 2022-05-10 11:31:11 -05:00
3b495653c0
Simplify example into a counter 2022-05-10 09:16:04 -05:00
e55ff9b97c
Add 7-segment examples 2022-05-09 06:54:20 -05:00
7e9076dae2
switch bit count from 16 bits to 32 bits, explain how auto_write behaves 2022-05-07 09:47:39 -05:00
082e0a1dc6
enhance examples
Works in conjunction with https://github.com/adafruit/circuitpython/pull/6360

 * get rid of the need for 'filler' in morse demo
 * make neopixels work super fast without explicit byteswapping
2022-05-06 15:45:02 -05:00
079fe9e6c5
Fix comments based on review notes 2022-05-06 09:50:37 -05:00
387abbbc4c
Add neopixel background example 2022-05-06 09:47:50 -05:00
3a9a0288b7
match the latest core code 2022-05-06 08:27:58 -05:00
2c391efed0
add morse code background example 2022-05-04 14:44:31 -05:00
c18585e1ba
disable default stagger; use 2.5ms stagger for servos 2022-04-26 09:48:52 -05:00
6c8a16ecef
update for PR in progress 2022-04-23 13:56:58 -05:00
243b52bb41
add pulsegroup example 2022-04-22 14:28:15 -05:00
8bd335f4be
add a wrap example 2022-04-06 08:47:49 -05:00
Alec Delaney
5aa37e1a46 "Reformatted per new black version" 2022-03-29 18:19:18 -04:00
Eva Herrada
95cfc1edb0
Rename rotaryencoder.py to pioasm_rotaryencoder.py 2022-03-24 18:37:07 -04:00
dherrada
5eec7e9958 Renamed more examples 2022-03-24 17:41:35 -04:00
dherrada
7389b2e34e Renamed examples/ subdirs to satisfy adabot 2022-03-24 16:36:58 -04:00
ac5290f6c7
Add pretty-printing of PIO programs (into C for now) 2022-02-01 11:04:47 -06:00
68a5881044
black 2022-01-12 08:43:33 -06:00
2a22758cf9
Change txuart example to use Program 2022-01-12 08:43:07 -06:00
Scott Shawcroft
210873997e
pre-commit formatting 2021-12-22 12:20:08 -08:00
Scott Shawcroft
9a1d5c6141
Add sideset assembly support.
You must also set `sideset_enable` when creating the rp2pio.StateMachine
object.

Fixes #16 and fixes #21.
2021-12-22 12:10:14 -08:00
dherrada
e26a5801f0 Linted 2021-11-05 14:16:37 -04:00
d51f129541 rxuart: Receive-only 8N1 UART
based on an example in the RP2040 datasheet.

Tested at a blazing 9600 baud!
2021-03-22 11:02:42 -05:00
Scott Shawcroft
3ff94aa9da
Merge pull request #14 from adafruit/jepler-rotary-example
Add rotaryencoder example
2021-03-11 11:03:38 -08:00
5a7e52ced3 Add rotaryencoder example
This example requires https://github.com/adafruit/circuitpython/pull/4329 to be merged in order to work
2021-03-05 11:00:07 -06:00
Scott Shawcroft
2be7853ac4
Merge remote-tracking branch 'adafruit/main' into audiobusio_examples 2021-03-04 09:52:02 -08:00
937357eab1 pioasm_neopixel: Adapt to various boards
On any board with a NEOPIXEL pin defined, use it.  Otherwise, arbitrarily
use D16 which is conveniently at a corner of the Pico board.

Send several different pixel colors so that the user can see it working.
2021-03-02 10:00:58 -06:00
9399b4496a pylint 2021-02-25 16:08:42 -06:00
b5b8e35798 add blink example 2021-02-25 16:04:32 -06:00
d727e55a9d Explain why a needless jmp is here 2021-02-25 15:10:25 -06:00
b8e8c9279e Remove unneeded 'set pindirs', fix minimum frequency 2021-02-25 15:10:09 -06:00
8db157b7bb Explain where these examples come from 2021-02-25 15:03:14 -06:00
Scott Shawcroft
acb4fcb3f8
pylint: import order 2021-02-25 09:01:51 -08:00
9cf38ebea5 Pylint changes 2021-02-25 10:09:53 -06:00
0d56e195f4 run black 2021-02-25 10:01:23 -06:00
72c2324ff5 Adapt first example from the Micropython book 2021-02-25 08:44:11 -06:00
3a64ca716b hello pio example 2021-02-24 10:09:06 -06:00
Scott Shawcroft
2adf61aae5
Add audiobusio examples and fix simple test frequency
This also uses newer pin auto-init.
2021-02-23 16:39:55 -08:00
Scott Shawcroft
7dc5992975
Example lint and doc TODOs 2021-01-21 15:50:02 -08:00