Skip to content

Commit a7ddeea

Browse files
committed
Added self check for MCP I/O expanders
1 parent 3f82eef commit a7ddeea

File tree

135 files changed

+80
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+80
-214
lines changed

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_Battery_Voltage_And_Temperature/Inkplate_Battery_Voltage_And_Temperature.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and als
3030
// You can easily check if your Inkplate has second MCP by turning it over and
3131
// if there is missing chip near place where "MCP23017-2" is written, but if there is
3232
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
33-
//#define ONE_MCP_MODE
3433

3534
void setup()
3635
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_Bluetooth_Peripheral_Mode_Example/Inkplate_Bluetooth_Peripheral_Mode_Example.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ char commandBuffer[BUFFER_SIZE + 1];
3232
// You can easily check if your Inkplate has second MCP by turning it over and
3333
// if there is missing chip near place where "MCP23017-2" is written, but if there is
3434
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
35-
//#define ONE_MCP_MODE
3635

3736
void setup() // Initialize everything
3837
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_EEPROM_Usage/Inkplate_EEPROM_Usage.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Inkplate display(INKPLATE_1BIT); // Create object on Inkplate library and set li
3333
// You can easily check if your Inkplate has second MCP by turning it over and
3434
// if there is missing chip near place where "MCP23017-2" is written, but if there is
3535
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
36-
//#define ONE_MCP_MODE
3736

3837
void setup()
3938
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_EasyC/Inkplate_EasyC.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ int n = 0; // Variable that keep track on how many times screen has been partial
3838
// You can easily check if your Inkplate has second MCP by turning it over and
3939
// if there is missing chip near place where "MCP23017-2" is written, but if there is
4040
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
41-
//#define ONE_MCP_MODE
4241

4342
void setup()
4443
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_Faster_Display/Inkplate_Faster_Display.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Inkplate display(INKPLATE_1BIT);
2424
// You can easily check if your Inkplate has second MCP by turning it over and
2525
// if there is missing chip near place where "MCP23017-2" is written, but if there is
2626
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
27-
//#define ONE_MCP_MODE
2827

2928
void setup()
3029
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_Low_Power/Inkplate_Low_Power.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Inkplate display(INKPLATE_3BIT); // Create an object on Inkplate library and als
4242
// You can easily check if your Inkplate has second MCP by turning it over and
4343
// if there is missing chip near place where "MCP23017-2" is written, but if there is
4444
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
45-
//#define ONE_MCP_MODE
4645

4746
void setup()
4847
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_MCP23017_Expander/Inkplate_MCP23017_Expander.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and als
4141
// You can easily check if your Inkplate has second MCP by turning it over and
4242
// if there is missing chip near place where "MCP23017-2" is written, but if there is
4343
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
44-
//#define ONE_MCP_MODE
4544

4645
void setup()
4746
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_Partial_Update_With_Deep_Sleep/Inkplate_Partial_Update_With_Deep_Sleep.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ RTC_DATA_ATTR float decimal = PI;
4545
// You can easily check if your Inkplate has second MCP by turning it over and
4646
// if there is missing chip near place where "MCP23017-2" is written, but if there is
4747
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
48-
//#define ONE_MCP_MODE
4948

5049
void setup()
5150
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_RTC_Alarm_Deep_Sleep_Example/Inkplate_RTC_Alarm_Deep_Sleep_Example.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and als
2929
// You can easily check if your Inkplate has second MCP by turning it over and
3030
// if there is missing chip near place where "MCP23017-2" is written, but if there is
3131
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
32-
//#define ONE_MCP_MODE
3332

3433
void setup()
3534
{

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_RTC_Alarm_Example/Inkplate_RTC_Alarm_Example.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ uint8_t alarmDay = 11;
4646
// You can easily check if your Inkplate has second MCP by turning it over and
4747
// if there is missing chip near place where "MCP23017-2" is written, but if there is
4848
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
49-
//#define ONE_MCP_MODE
5049

5150
void setup()
5251
{

0 commit comments

Comments
 (0)