Skip to content

RP2350A and RP2350B differences (for Firmata) #2905

Answered by PizzaProgram
PizzaProgram asked this question in Q&A
Discussion options

You must be logged in to vote

Hmmm.... now I'm officially confused, because just found at your Arduino.h file this:

// General GPIO/ADC layout info
#ifdef PICO_RP2350B
#define __GPIOCNT 48
#define __FIRSTANALOGGPIO 40
#else
#define __GPIOCNT 30
#define __FIRSTANALOGGPIO 26
#endif

So actually there IS a PICO_RP2350B definition already!

No need to use any other complicated method 👍

And it's working fine, if I choose an other board:

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@PizzaProgram
Comment options

@PizzaProgram
Comment options

Answer selected by PizzaProgram
@earlephilhower
Comment options

Comment options

You must be logged in to vote
1 reply
@earlephilhower
Comment options

Comment options

You must be logged in to vote
2 replies
@PizzaProgram
Comment options

@earlephilhower
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants