4
votes
RaspberryPi Pico SPI and nrf24l01
For Arduino-pico core
** MISO - pin GP16
** MOSI - pin GP19
** CS - pin GP17
** SCK - pin GP18
Arduino-mbed core
** MISO - pin GP4
** MOSI - pin GP3
** CS - pin GP5
** SCK - pin GP2
2
votes
Why is my BME280 sensor returning 0 for all data values?
By the looks of it you have connected the BME sensor via SPI
#include <SPI.h>
#define BME_SCK 18
#define BME_MISO 19
#define BME_MOSI 23
#define BME_CS 5
but you are trying to use it as an I2C ...
2
votes
Using SPI on Pi Pico, Arduino IDE
You can read the actual SPI pins with the following sketch
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.print("MOSI: ");
Serial.println(MOSI)...
2
votes
Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)
Update: more recent version of Adafruit_TinyUSB_Arduino supports having multiple HID instances (defaults to two). So to avoid the HID_QUIRK_MULTI_INPUT hack for linux, you could instead expose each ...
2
votes
How to use Serial2 on Raspberry Pi Pico
I found the solution after reading https://github.com/arduino/ArduinoCore-mbed/issues/210#issuecomment-849502556.
Although the proposed code did not compile as it was shown there.
UART Serial2(8, 9); ...
1
vote
How to use Serial2 on Raspberry Pi Pico
I'm not using the "Mbed" board, I'm using the "Raspberry Pi Boards(1.9.7)" --> "Raspberry Pi Pico" board, and found that:
Serial1 uses hardware UART0
Serial2 uses ...
1
vote
Accepted
Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)
By selecting the Adafruit TinyUSB USB stack option (Tools->USB Stack->Adafruit TinyUSB) of the arduino-pico core instead of the default (Pico SDK) the USB HID descriptors can be configured ...
1
vote
Can't upload programs to Raspberry Pi Pico with Arduino
Installing a generic driver with https://zadig.akeo.ie/ while the PICO was plugged in solved the issue for me.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
raspberrypi-pico × 16spi × 4
programming × 2
arduino-ide × 2
sd-card × 2
nrf24l01+ × 2
uploading × 2
serial × 1
arduino-nano × 1
sensors × 1
i2c × 1
interrupt × 1
usb × 1
pins × 1
relay × 1
uart × 1
temperature-sensor × 1
audio × 1
switch × 1
class × 1
rotary-encoder × 1
joystick × 1
speaker × 1
hid × 1
arduino-ide-2 × 1