129 Commits

Author SHA1 Message Date
MReenen
c347cb78e0 long lasting updates 2024-02-26 16:25:30 +01:00
MReenen
41c6e68fc4 some miner changes 2022-08-31 15:04:08 +02:00
MReenen
ba4caba4f0 radio: update 2022-08-31 15:03:47 +02:00
MReenen
fbc9e9f4fb radio: inital commit 2022-08-30 14:54:10 +02:00
MReenen
7f12071e51 remove some example stuff 2022-08-30 14:52:23 +02:00
MReenen
ca6eb091a6 add all build stuff in gitignore 2022-08-30 14:43:28 +02:00
MReenen
61f891433f remove examples 2022-08-30 14:39:01 +02:00
Brian Cooke
a7ad17156b
fix links to pico_w examples (#229)
Fixes #228
2022-07-01 08:01:37 -05:00
graham sanderson
01e8128953 Add Pico W examples 2022-06-29 23:12:10 -05:00
Andrew Scheller
a7ce7007ff
Update spi_master_slave README (#216)
The "List of Files" section should only list text-files (i.e. source code), not images or supplementary files
2022-05-17 22:09:59 -05:00
graham sanderson
2a11e9f8f2 Clean up onboard_temperature example slightly, and let i tbuild when there is no default LED 2022-05-17 19:43:30 -05:00
graham sanderson
6a747b3b71 pick up new version of pico_sdk_import.cmake - only really relevant to optimize git download of pico-sdk 2022-05-17 16:16:00 -05:00
Graham Sanderson
2cb4d4aa1a
Add delay to hello_rtc (#109) (#215)
A delay is needed after `rtc_set_datetime()` before the newly set value can be read back.

Co-authored-by: Rene Greiner <reneg973@gmail.com>
2022-05-17 13:11:57 -05:00
Graham Sanderson
4039929324
Add missing links from README.md to new spi examples (#214) 2022-05-17 11:43:16 -05:00
Andrew Scheller
bef1dc930f
Update Raspberry Pi Pico URL in spi_master_slave (#213) 2022-05-17 11:42:56 -05:00
Graham Sanderson
bebd459244
Add indication of how errata RP2040-E5 workarund is turned on (#210) 2022-05-17 11:24:17 -05:00
James Hughes
705cd0fbea
Add a couple of examples of using the Max7219 LED driver chip (#209) 2022-05-17 09:35:03 -05:00
Graeme Winter
72e41ad66f
Fix PIO count (#211)
Works fine currently for low frequency, breaks down at higher frequency e.g. 1MHz

Chased down with a scope to the 3 extra cycles needed for wait+1; mov; jmp
so account for these in demo program
2022-05-16 15:17:42 -05:00
Felipe Kühne
4d1d533122
Added onboard_temperature example. (#80)
Co-authored-by: Felipe Kuhne <fkuhne@dbserver.com.br>
2022-05-16 15:13:35 -05:00
Michael Stoops
2147301e11
Added spi/spi_master_slave. (#101)
Co-authored-by: Michael Stoops <spam@michaelstoops.com>
2022-05-16 14:22:24 -05:00
kripton
1a2a85ca6e
Fiy a typo and clarify one comment (#189) 2022-05-16 14:08:01 -05:00
Jasper van der Neut - Stulen
6bb66028ed
PIO Quadrature fixes (#195)
* Enable internal pullup on B-pin.

* pio_gpio_init is not needed for input pins.
2022-05-16 14:07:26 -05:00
Andrew Scheller
fa0deaeff9
Fix position of Pico in Fritzing diagram (#194)
Fixes #191
2022-05-16 14:06:22 -05:00
Andrew Scheller
21622fc913
Remove apostrophes and fix a typo (#196) 2022-05-16 14:05:24 -05:00
Samuel Jones
cba82df30b
ir_nec: fix a minor clock setup typo in nec_receive.pio (#207) 2022-05-16 13:48:42 -05:00
graham sanderson
f9d11a2d74 Merge branch 'master' into develop 2021-11-24 19:03:05 -06:00
Graham Sanderson
afd1d2008f
Small doc/example changes
* Use PIO IRQ accessors in PIO I2C example

* Update pio/ir_nec/README.adoc file links (#183)

The "List of Files" now links (only) to files, not to directories (which prevented this example being included in the C SDK databook)
2021-11-24 19:02:20 -06:00
Andrew Scheller
e6fd50b3f5
Update pio/ir_nec/README.adoc file links (#183)
The "List of Files" now links (only) to files, not to directories (which prevented this example being included in the C SDK databook)
2021-11-19 14:23:19 -06:00
Luke Wren
498caedd1f
Use PIO IRQ accessors in PIO I2C example (#164)
* Use PIO IRQ accessors in PIO I2C example
2021-11-19 14:22:52 -06:00
James Hughes
fb96fad5a5
Fixup a coding error in BME280 example (#187) 2021-11-19 10:37:36 -06:00
graham.sanderson@raspberrypi.com
9133a154d8 Merge branch 'master' into develop 2021-11-04 10:09:44 -05:00
James Hughes
188d849b1f
Update README.adoc's for various examples to remove unnecessary block callouts. (#182) 2021-11-03 11:37:42 -05:00
graham sanderson
2c3a87e6c7 Merge branch 'master' into develop 2021-11-01 14:42:30 -05:00
Graham Sanderson
f800a7e303
Updates along with SDK1.3.0 release (#181)
Bug fixes and new examples

Co-authored-by: Paulo Marques <pm@quant-insight.com>
Co-authored-by: martin <admin@crossleys.biz>
Co-authored-by: matiasilva <matias.silva@raspberrypi.com>
Co-authored-by: Uri Shaked <uri@urishaked.com>
Co-authored-by: Diego Solano <diegosolano@gmail.com>
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
Co-authored-by: Adrian Hesketh <a-h@users.noreply.github.com>
Co-authored-by: Emircan Gündoğdu <58917386+emircangun@users.noreply.github.com>
Co-authored-by: Josef Wegner <80200012+josefwegner@users.noreply.github.com>
Co-authored-by: pmarques-dev <72901351+pmarques-dev@users.noreply.github.com>
Co-authored-by: Paulo Marques <pm@quant-insight.com>
Co-authored-by: mjcross <mjcross@users.noreply.github.com>
Co-authored-by: martin <admin@crossleys.biz>
2021-11-01 14:41:54 -05:00
Graham Sanderson
3f3c1f00ab
add CONTRIBUTING.md (#170) 2021-11-01 08:20:17 -05:00
Graham Sanderson
fd7fd1fd5f
fix lcd_uart for PICO_BOARD=none (#179) 2021-10-29 15:52:44 -05:00
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
Graham Sanderson
6e647c6f26
Additional examples for specific h/w by our interns (#171)
adc/microphone_adc - Read analog values from a microphone and plot the measured sound amplitude.
i2c/bmp280_i2c - Read and convert temperature and pressure data from a BMP280 sensor, attached to an I2C bus.
i2c/lis3dh_i2c - Read acceleration and temperature value from a LIS3DH sensor via I2C
i2c/mcp9808_i2c - Read temperature, set limits and raise alerts when limits are surpassed.
i2c/mma8451_i2c - Read acceleration from a MMA8451 accelerometer and set range and precision for the data.
i2c/mpl3115a2_i2c - Interface with an MPL3115A2 altimeter, exploring interrupts and advanced board features, via I2C.
i2c/oled_i2c - Convert and display a bitmap on a 128x32 SSD1306-driven OLED display
i2c/pa1010d_i2c - Read GPS location data, parse and display data via I2C.
i2c/pcf8523_i2c - Read time and date values from a real time clock. Set current time and alarms on it.
uart/lcd_uart - Display text and symbols on a 16x02 RGB LCD display via UART
2021-10-25 12:30:57 -05:00
Graham Sanderson
fabb762f75
fixup examples to use some SDK1.2.0 added functions (#172) 2021-10-25 12:30:42 -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
Emircan Gündoğdu
ad51837566
Fix typo in comment (#158) 2021-10-22 14:47:03 -05:00
Adrian Hesketh
1b1948af46
bus_scan.c example - clarify pin number in comment (#146) 2021-10-21 17:21:15 -05:00
Andrew Scheller
3f2742063f
Update website-links to raspberrypi.com (#161)
\
2021-10-14 14:47:34 -05:00
Diego Solano
010595e1ba
Fixed typos in notes (#155) 2021-09-02 10:48:45 -05:00
matiasilva
a192a018c6 Improve comment wording 2021-07-30 08:45:51 -05:00