add bledis to hid_keyscan exmaple
windows insist to have bledis to work with
This commit is contained in:
1 parent
3de7530962
commit
69f1802839
1 file changed
+6
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <bluefruit.h>
|
||||
|
||||
BLEDis bledis;
|
||||
BLEHidAdafruit blehid;
|
||||
|
||||
// Array of pins and its keycode
|
||||
@@ -56,6 +57,11 @@ void setup()
|
||||
Bluefruit.setTxPower(4);
|
||||
Bluefruit.setName("Bluefruit52");
|
||||
|
||||
// Configure and Start Device Information Service
|
||||
bledis.setManufacturer("Adafruit Industries");
|
||||
bledis.setModel("Bluefruit Feather 52");
|
||||
bledis.begin();
|
||||
|
||||
// set up pin as input
|
||||
for (uint8_t i=0; i<pincount; i++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user