Skip to content

Commit

Permalink
Updated example for SPI
Browse files Browse the repository at this point in the history
  • Loading branch information
protocentralashwin committed Nov 21, 2022
1 parent f533c9b commit 290bcde
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,11 @@ void sendData(signed long ecg_sample, signed long bioz_sample, bool _bioZSkipSam

bool BioZSkipSample = false;

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

//SPI.begin();
//SPI.setBitOrder(MSBFIRST);
//SPI.setDataMode(SPI_MODE0);
SPI.begin();

bool ret = max30001.max30001ReadInfo();
if (ret) {
Expand Down

0 comments on commit 290bcde

Please sign in to comment.