26 Commits

Author SHA1 Message Date
Graham Sanderson
c507d548fe
regenerated pio headers (#180) 2021-10-28 15:15:05 -05:00
Graham Sanderson
fa09f2c88e
Cleanup 3rd party samples; update README.md; add some missing copyright, fix builds for boards without certain pin definitions 2021-10-28 14:56:05 -05:00
Andrew Scheller
1300621684
Fix Raspberry Pi Pico product link (#177) 2021-10-27 22:27:15 -05:00
Graham Sanderson
845daaddda
SDK1.3.0 specific (requiring) changes (#173)
* SDK1.3.0 specific (requiring) changes
- Fixup TinyUSB build for 0.12.0, and add back standalone examples for device/host (copied from TinyUSB)
2021-10-26 16:49:54 -05:00
mjcross
1ec5e530b1
Add pio/ir_nec (#129)
Co-authored-by: martin <admin@crossleys.biz>
2021-10-26 16:16:15 -05:00
pmarques-dev
09e34e7c1a
add a quadrature encoder pio example (#126)
Co-authored-by: Paulo Marques <pm@quant-insight.com>
2021-10-26 16:15:12 -05:00
Josef Wegner
74aff26c75
This should make using the WS2812 examples a bit easier. (#84)
* This should make using the WS2812 examples a bit easier.
Moved parameters to the top as defines:
- Number of LEDs in your NeoPixel/WS2812 strip/ring
- Flag if the LEDs are WRGB or not
Changed PIN to 2 as pin 0 is used for serial UART.
2021-10-22 15:36:58 -05:00
Uri Shaked
34c3ade43e Fix pio_blink frequency calculation
Added missing parenthesis around the divisor. Verified using a logic analyzer and also in simulation:

https://wokwi.com/arduino/projects/300911723685085709
2021-07-12 09:05:47 -05:00
graham sanderson
7e4e3290d5 fixup/test compiler warnings 2021-06-03 10:57:13 -05:00
Tom Messick
4f64f3af80 Prevent extra bit transition at end of data
The initial bit transition would be set even if the queue stalled.
The state machine still takes 16 cycles per bit
The next bit starts on state 1 and 9 instead of 0 and 8 so the timing is the same as before
2021-06-02 16:04:50 +01:00
Andrew Scheller
4d7882bc59 Fix examples to build cleanly if PICO_DEFAULT_LED_PIN isn't defined 2021-03-04 20:54:52 -06:00
Andrew Scheller
b369755d6f Small changes to the binary_info pin names 2021-03-04 18:46:43 -06:00
Andrew Scheller
83f0eed8c5 Update some of the SPI examples to use PICO_DEFAULT_SPI and binary_info 2021-03-04 18:46:43 -06:00
graham sanderson
112a592349 generated python is changed 2021-03-01 10:18:35 -06:00
graham sanderson
3c82d8aa2b fixup examples based on default pin #define-s and also support them being undefined 2021-03-01 09:43:10 -06:00
graham sanderson
614ee3f2d2 make pio-blink use correct sys clock value 2021-03-01 09:27:22 -06:00
Ha Thach
1be0e7fc28
change blink to use PICO_DEFAULT_LED_PIN to support other boards (#57)
* change blink to use PICO_DEFAULT_LED_PIN to support other boards

* also update pio/pwm and picoboard/blinky system/hello_double_tap
2021-02-22 15:08:12 +00:00
Luke Wren
b9b5b4f121 typo in comment 2021-02-11 11:35:55 -06:00
Luke Wren
5441888fa1 Fix garbage at start when doing repeated capture with non-po2 sample size 2021-02-11 11:35:55 -06:00
Luke Wren
80189633b1 Fix logic analyser for non-power-of-2 sample widths, and clean and comment. 2021-02-11 11:35:55 -06:00
Luke Wren
b4b25e1f0d Fix copyright date, add comment clarifying FIFO behaviour 2021-02-11 11:33:07 -06:00
Luke Wren
dbe9a66898 Add pio_clocked_input example 2021-02-11 11:33:07 -06:00
Henry Gabryjelski
8b016f0bcb
Fix #41 - Remove debug pin per @kilograham (#47) 2021-02-11 17:09:09 +00:00
Graham Sanderson
0d3b9d7cbc
Remove incorrect inverted dependency on Pioasm which broke Ninja build (#24) 2021-02-01 08:03:14 -06:00
Andrew Scheller
13f89f6282
Standardise references to Raspberry Pi Pico SDK (#21) 2021-01-30 11:16:32 -06:00
graham sanderson
46078742c7 Initial Release 2021-01-20 16:45:01 -06:00