Skip to content

Commit

Permalink
Added spi.begin()
Browse files Browse the repository at this point in the history
  • Loading branch information
suvarna84 committed Dec 19, 2024
1 parent e072e8f commit 2e55994
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified examples/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ bool BioZSkipSample = false;

void setup()
{
Serial.begin(57600); // Serial begin

Serial.begin(57600);
// Serial begin
SPI.begin();
SPI.beginTransaction(SPISettings(MAX30001_SPI_SPEED, MSBFIRST, SPI_MODE0));

bool ret = max30001.max30001ReadInfo();
Expand Down

0 comments on commit 2e55994

Please sign in to comment.