Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow overriding RASPBERRY_PI_PICO SPI pins#703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
danielkucera wants to merge1 commit intoarduino:main
base:main
Choose a base branch
Loading
fromdanielkucera:patch-1
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletionsvariants/RASPBERRY_PI_PICO/pins_arduino.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -42,10 +42,21 @@ static const uint8_t A3 = PIN_A3;
#define PIN_SERIAL_RX (1ul)

// SPI
#ifndef PIN_SPI_MISO
#define PIN_SPI_MISO (16u)
#endif

#ifndef PIN_SPI_MOSI
#define PIN_SPI_MOSI (19u)
#endif

#ifndef PIN_SPI_SCK
#define PIN_SPI_SCK (18u)
#endif

#ifndef PIN_SPI_SS
#define PIN_SPI_SS (17u)
#endif

static const uint8_t SS = PIN_SPI_SS; // SPI Slave SS not used. Set here only for reference.
static const uint8_t MOSI = PIN_SPI_MOSI;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp