File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
libraries/Bluefruit52Lib/examples/Peripheral/ancs_oled Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 17
17
* Wing to display incoming ANCS alerts:
18
18
* https://www.adafruit.com/product/2900
19
19
*
20
- * BUTTON A: UP
21
- * BUTTON B: DOWN
22
- * BUTTON C: Accept incoming call
20
+ * BUTTON A: Up or accept call
21
+ * BUTTON B: Not used since it is hard to press
22
+ * BUTTON C: Down or decline call
23
23
*/
24
24
#include < Wire.h>
25
25
#include < Adafruit_GFX.h>
26
26
#include < Adafruit_SSD1306.h>
27
27
#include < bluefruit.h>
28
28
29
29
/* ------------- OLED and Buttons -------------*/
30
- #define BUTTON_A 31 // Up or accept call
31
- #define BUTTON_B 30 // Not used since it is hard to press
32
- #define BUTTON_C 27 // Down or decline call
30
+ #define BUTTON_A 31
31
+ #define BUTTON_B 30
32
+ #define BUTTON_C 27
33
33
34
34
#define OLED_RESET 4
35
35
Adafruit_SSD1306 oled (OLED_RESET);
You can’t perform that action at this time.
0 commit comments