-
Notifications
You must be signed in to change notification settings - Fork 5
/
myConfig.example.h
49 lines (43 loc) · 1.62 KB
/
myConfig.example.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* © 2022 Peter Cole. All rights reserved.
*
* This is the example configuration file for EX-IOExpander.
*
* It is highly recommended to copy this to "config.h" and modify to suit your specific
* requirements.
*
* NOTE: Modifications to this file will be overwritten by future software updates.
*/
#ifndef MYCONFIG_H
#define MYCONFIG_H
/////////////////////////////////////////////////////////////////////////////////////
// Define I2C address
// Default 0x90, can be any valid, available I2C address
//
#define I2C_ADDRESS 0x65
/////////////////////////////////////////////////////////////////////////////////////
// Uncomment to enable diag output
//
// #define DIAG
/////////////////////////////////////////////////////////////////////////////////////
// Delay between dumping the status of the port config if DIAG enabled
//
#define DIAG_CONFIG_DELAY 5
/////////////////////////////////////////////////////////////////////////////////////
// Enable test mode - ensure only one test mode is active at one time.
// This is handy if serial input doesn't work for commands for some reason.
//
// ANALOGUE - equivalent of <T A>
// INPUT - equivalent of <T I>
// OUTPUT - equivalent of <T O>
// PULLUP - equivalent of <T P>
//
// #define TEST_MODE ANALOGUE_TEST
// #define TEST_MODE INPUT_TEST
// #define TEST_MODE OUTPUT_TEST
// #define TEST_MODE PULLUP_TEST
/////////////////////////////////////////////////////////////////////////////////////
// Uncomment to disable internal I2C pullup resistors
// NOTE: This will not apply to all supported devices, refer to the documentation
// #define DISABLE_I2C_PULLUPS
#endif