Dependencies: MAX30205 max32630fthr
Fork of MAX30205_Demo by
Diff: main.cpp
- Revision:
- 6:96c0402be8c5
- Parent:
- 5:fb64c72bb867
- Child:
- 7:579d8a8c4e8e
--- a/main.cpp Mon Aug 28 21:00:41 2017 +0000 +++ b/main.cpp Thu Dec 14 21:40:34 2017 +0000 @@ -47,8 +47,6 @@ pc.baud(115200); // Baud rate = 115200 DigitalOut rLed(LED1, LED_OFF); // Debug LEDs - DigitalOut gLed(LED2, LED_OFF); - DigitalOut bLed(LED3, LED_OFF); I2C i2cBus(I2C1_SDA, I2C1_SCL); // I2C bus, P3_4 = SDA, P3_5 = SCL @@ -90,9 +88,7 @@ }else{ pc.printf("Something went wrong, check the I2C bus and power connections... \r\n"); - bLed = LED_OFF; - gLed = LED_OFF; - + while(1){ rLed = !rLed; wait(0.5);