[Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?

Post here first, or if you can't find a relevant section!
arun
Posts: 7
Joined: Wed Sep 21, 2022 11:25 am

Re: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?

Post by arun »

can anyone share an example code to use spi1 and spi2 simultaneously in stm32f103c8t6 in Arduino IDE?
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?

Post by GonzoG »

Use of both is exactly the same. You just need to declare second SPI at the beginning.
All needed information you'll fine here
Post Reply

Return to “General discussion”