B4R Question Use SPI.H Library in B4R

Gerardo Tenreiro

Active Member
Licensed User
Hi, I'm trying to use the arduino SPI.H library in B4R without much success, it's been a couple of weeks now and I'm stuck
In Arduino the code is:

How I could use it in b4R
Thank you
 

KiloBravo

Active Member
Licensed User
You need to use rSD not rSPI32. Erel noted in a post "rSD is a thin wrapper for the Arduino SD."
As you mention, the issue is ... rSD Initialize method only defines the CSpin.

bool Initialize(Byte CSPin);

I will see if I can change the Initialize method for you.

I will post any progress in the other thread, because it is more appropriate for your issue.
Initialize rSD with other pins (MISO,MOSI,SCK,CS)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…