Frederico Pereira
654aabc686
Update picow_ntp_client.c ( #391 )
...
Fix "invalid conversion from 'void*' to 'NTP_T*'"
2023-06-06 10:51:55 -05:00
pmarques-dev
8df09c9a7c
quadrature encoder: reduce PIO code size from 29 to 24 ( #390 )
...
Co-authored-by: Paulo Marques <pm@quant-insight.com >
2023-06-05 10:54:37 -05:00
graham sanderson
1c5d9aa567
Add Bluetooth examples
...
Co-authored-by: Peter Harper <77111776+peterharperuk@users.noreply.github.com >
2023-02-10 18:26:53 -06:00
graham sanderson
03f97a8999
Add new github workflows
2023-02-10 18:26:50 -06:00
graham sanderson
13d8cdf06c
Merge back example changed in master
2023-02-10 18:25:45 -06:00
andygpz11
827cb43b3a
Add example which uses the in-built 'DMA sniff' capability to check a CRC32
2023-02-10 11:11:00 -06:00
akhodeir
42ffd518c9
fix device reset in mpu6050_i2c.c ( #319 )
...
To reset the MPU6050, the device_reset bit shall be set to '1'.
reference from "MPU-6000/MPU-6050 Register Map and Descriptions"
DEVICE_RESET : When set to 1, this bit resets all internal registers to their default values. The bit automatically clears to 0 once the reset is done.
2023-02-10 09:40:01 -06:00
mjcross
92de98a364
update pico-examples/ide/vscode ( #313 )
...
Co-authored-by: martin <admin@crossleys.biz >
2023-02-10 08:39:18 -06:00
kripton
b59a522ec4
Pico-W Access Point: Fix DHCP server for certain clients (dhcpcd) ( #288 )
2023-02-09 13:41:48 +00:00
Peter Harper
5e1c1ca7b6
Add i2c slave example ( #320 )
...
* Add i2c slave example
from https://github.com/vmilea/pico_i2c_slave
To test you need to wire pin GP4 to GP6 (SDA), and pin GP5 to GP7 (SCL)
2023-02-07 08:03:00 -06:00
Graham Sanderson
f3f5d9fe61
update TinyUSB examples for latest TinyUSB ( #325 )
2023-02-06 16:56:50 -06:00
graham sanderson
9600dec1f0
fix build issues on GCC 12
2023-02-06 16:18:33 -06:00
Peter Harper
86496336c1
Add tls_client example ( #305 )
...
* Add tls_client example
This requires pico_mbedtls in the pico-sdk
Connects to worldtimeapi.org and retrieves a web page
Originally written by Floris Bos @maxnet
2023-02-04 16:41:44 -06:00
kromych
e2a389c359
Generalize ST7789 init. sequence ( #312 )
2023-02-04 16:39:22 -06:00
Tkostas
ec52f31d84
Change comment location in dev_lowlevel ( #249 )
...
Comment location was misleading, intellisense associate the comment to
the typedef type instead of struct usb_endpoint_configuration.
2023-02-04 16:36:47 -06:00
Andrew Scheller
992348a8b4
Eliminate duplicate anchor-ref ( #218 )
2023-02-03 19:28:14 +00:00
Andrew Scheller
e62e8b6aeb
Fix README link ( #230 )
2023-02-03 19:26:21 +00:00
Andrew Scheller
d0d5ab8cc4
Small typo ( #225 )
2023-02-03 19:24:41 +00:00
Brian Cooke
5d9f227d71
fix typos in pico-w examples ( #236 )
...
* fix typo in iperf example
* fix type in ping example
2023-02-02 19:23:54 +00:00
Andrew Scheller
dc6762409f
typo ( #244 )
2023-02-02 19:13:23 +00:00
Henry Gabryjelski
f6ac6f5b49
PIO WS2812 Sample: Change 'string' to 'strip' ( #279 )
2023-02-02 13:03:43 -06:00
Peter Harper
566ce86a6e
Improve ap example ( #233 )
...
* Add dns server
The access point example is a bit complicated to use as you have to open
a browser and enter a url with the IP address of the device
Add a simple dns server that can be used to make the access point behave
like a captive portal. All DNS requests point back to the gateway IP.
* Improve AP example
The web page /ledtest gives you a web page with an option to turn the
led on and off
Start the DNS server and redirect all HTTP requests to this page.
Improve the code so it can handle more than one request at a time.
Fixes : #232
2023-01-23 08:35:33 -06:00
Peter Harper
a605c65774
ping example app throws lwip assert ( #309 )
...
Now LWIP_PLATFORM_ASSERT has been fixed we're seeing an assert for the
ping example app.
It sets the SO_RCVTIMEO socket option which is not enabled.
Fixes #308
2023-01-04 12:58:44 -06:00
sashz
6c3f2dad5c
fixed bug on macOS - pico usb device sends more data than requested by usb host ( #283 )
2022-12-22 17:23:36 -06:00
Peter Harper
8b1d1eef00
Fix build issues with spaces and parentheses ( #298 )
...
Add VERBATIM to add_custom_command
Fixes #297
2022-12-22 17:22:05 -06:00
Peter Harper
c80026dbed
Add UDP transmitter example ( #306 )
...
Co-authored-by: Andrew McDonnell <bugs@andrewmcdonnell.net >
2022-12-22 17:20:35 -06:00
Peter Harper
5bb4f7f6cb
Fix issues building examples with LWIP_IPV6 ( #268 )
...
Fixes https://github.com/raspberrypi/pico-examples/issues/265
2022-12-06 18:49:18 -05:00
Mücahit KURTLAR
f31966d69d
Add Python test scripts and rename MicroPython scripts ( #246 )
2022-12-06 18:48:11 -05:00
Peter Harper
b1dae7fb6d
Fix debug build issue ( #300 )
...
Fixes #299
2022-12-06 11:07:05 +00:00
James Hughes
8be18f2998
Update README.adoc ( #293 )
...
Fix up the List of files section.
2022-11-26 18:17:05 -06:00
James Hughes
82eae4c8ea
Added a 14 segment LED example, driven by the HT16K33 ( #219 )
...
No fritzing parts available for the device so no diagrams
2022-11-25 11:32:13 -06:00
James Hughes
aa9a72b494
Refactor the oled_i2c example ( #217 )
...
This PR does a number of things:
1. Renames the oled_i2c example to sssd1306_i2c to match other example folder
names that use the device name
2. Merge code from another ssd1306 exmaple that was sitting in another PR
3. Add a few more demo parts to the code for extra fun.
4. Couple of bug fixes that were reported in original code to fix handling different
display sizes, so code now works for 32 and 64 pixel height displays by changing
a define at top of code.
2022-11-25 10:38:11 -06:00
Wenzel
75c6a5e9db
Fix missing TCP_PORT for printf in TCP server example ( #270 )
...
Also replace `%d` with `%u`
Co-authored-by: Viacheslav Lotsmanov <lotsmanov89@gmail.com >
2022-10-12 20:09:04 -05:00
Peter Harper
5555037e78
Load WIFI_SSID and WIFI_PASSWORD from environment ( #274 )
...
Fixes #273
2022-09-11 07:31:06 -05:00
David Christensen
15e7d06abd
README and comment change for pico-w examples ( #242 )
2022-07-16 16:14:49 -05:00
Liam Fraser
3a0b299569
Fix incorrect gpio / gpout in hello_gpout ( #241 )
2022-07-15 07:01:48 -05: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