Skip to content

Commit 9fb72b6

Browse files
committed
wrap up color service
1 parent 566eb65 commit 9fb72b6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libraries/Bluefruit52Lib/examples/Peripheral/bluefruit_playground/bluefruit_playground.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ void color_enable_callback(uint16_t conn_hdl, bool enabled)
133133

134134
#ifdef ARDUINO_NRF52840_CLUE
135135
digitalWrite(PIN_LED2, enabled);
136-
137-
#else
138-
// Feather Sense use neopixel
139-
140-
141136
#endif
142137
}
143138

@@ -147,7 +142,6 @@ uint16_t measure_color(uint8_t* buf, uint16_t bufsize)
147142
uint16_t c;
148143
(void) c;
149144

150-
apds9960.enableColor(true);
151145
apds9960.getColorData(rgb+0, rgb+1, rgb+2, &c);
152146

153147
memcpy(buf, rgb, sizeof(rgb));

0 commit comments

Comments
 (0)