Skip to content

Commit 2e55994

Browse files
committed
Added spi.begin()
1 parent e072e8f commit 2e55994

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.DS_Store

2 KB
Binary file not shown.

examples/.DS_Store

4 KB
Binary file not shown.

examples/Example1-ECG-BioZ-stream-Openview/Example1-ECG-BioZ-stream-Openview.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ bool BioZSkipSample = false;
103103

104104
void setup()
105105
{
106-
Serial.begin(57600); // Serial begin
107-
106+
Serial.begin(57600);
107+
// Serial begin
108+
SPI.begin();
108109
SPI.beginTransaction(SPISettings(MAX30001_SPI_SPEED, MSBFIRST, SPI_MODE0));
109110

110111
bool ret = max30001.max30001ReadInfo();

0 commit comments

Comments
 (0)