Browse Source

remove calls to Keyboard.begin()

tags/v0.6.4
wolfv6 7 years ago
parent
commit
e5944bee57

+ 0
- 1
tutorials/keybrd_1_breadboard/keybrd_1_breadboard.ino View File

@@ -40,7 +40,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 1
- 2
tutorials/keybrd_2_single-layer/keybrd_2_single-layer.ino View File

@@ -90,11 +90,10 @@ uint8_t keyCount_1 = sizeof(ptrsKeys_1)/sizeof(*ptrsKeys_1);
Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);

/* ################### MAIN ####################
setup() is used to initialize the keyboard firmware. Keyboard.begin() should be called once.
setup() is required by Arduino. Some keyboard firmware will initialize objects in setup().
*/
void setup()
{
Keyboard.begin();
}

/*

+ 0
- 1
tutorials/keybrd_3a_multi-layerHold/keybrd_3a_multi-layerHold.ino View File

@@ -112,7 +112,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 0
- 1
tutorials/keybrd_3b_multi-layerLock/keybrd_3b_multi-layerLock.ino View File

@@ -80,7 +80,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 0
- 1
tutorials/keybrd_3c_sublayerNull/keybrd_3c_sublayerNull.ino View File

@@ -97,7 +97,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 0
- 1
tutorials/keybrd_3d_sublayerNestedKeys/keybrd_3d_sublayerNestedKeys.ino View File

@@ -121,7 +121,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 0
- 1
tutorials/keybrd_3e_sublayerNestedScSc/keybrd_3e_sublayerNestedScSc.ino View File

@@ -103,7 +103,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 0
- 1
tutorials/keybrd_3f_autoShift/keybrd_3f_autoShift.ino View File

@@ -112,7 +112,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()

+ 0
- 1
tutorials/keybrd_4b_split_keyboard_with_shift_registers/keybrd_4b_split_keyboard_with_shift_registers.ino View File

@@ -73,7 +73,6 @@ Row row_R0(scanner_R, 0, ptrsKeys_R0, sizeof(ptrsKeys_R0)/sizeof(*ptrsKeys_R0));
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
scanner_R.begin();
}


+ 0
- 1
tutorials/keybrd_4c_split_keyboard_with_IOE/keybrd_4c_split_keyboard_with_IOE.ino View File

@@ -99,7 +99,6 @@ Row row_R1(scanner_R, 1<<1, ptrsKeys_R1, KEY_COUNT_R1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
scanner_R.begin();
}


+ 0
- 1
tutorials/keybrd_5a_LED_on_uC/keybrd_5a_LED_on_uC.ino View File

@@ -91,7 +91,6 @@ layerState.begin() turns on the LED of the default layer.
*/
void setup()
{
Keyboard.begin();
layerState.begin();
}


+ 0
- 1
tutorials/keybrd_6_active_high/keybrd_6_active_high.ino View File

@@ -50,7 +50,6 @@ Row row_1(scanner, 1, ptrsKeys_1, keyCount_1);
// ################### MAIN ####################
void setup()
{
Keyboard.begin();
}

void loop()