mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-06-15 12:05:23 +02:00
Compare commits
2 Commits
efe1b48c8a
...
3bf1fe6513
Author | SHA1 | Date | |
---|---|---|---|
|
3bf1fe6513 | ||
|
d7e7abb4c5 |
@ -146,6 +146,13 @@ void halSetup() {
|
||||
|
||||
//PCF8574::create(200, 8, 0x23, 40);
|
||||
|
||||
// Alternative form to initialize 8 pins as output
|
||||
// INT pin -1, when INT pin is not used
|
||||
|
||||
//PCF8574::create(200, 8, 0x23, -1, 255); // 8 pins High
|
||||
//PCF8574::create(200, 8, 0x23, -1, 0); // 8 pins Low
|
||||
//PCF8574::create(200, 8, 0x23, -1, 0b11000010);
|
||||
// pins listed sequentially from 7 to 0
|
||||
|
||||
//=======================================================================
|
||||
// The following directive defines a PCF8575 16-port I2C GPIO Extender module.
|
||||
|
Loading…
x
Reference in New Issue
Block a user