1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-05-17 15:54:56 +02:00

PCF8574 output pin initialization parameter

This commit is contained in:
Ash-4 2025-05-02 23:55:20 -05:00
parent d7e7abb4c5
commit 3bf1fe6513

View File

@ -149,8 +149,8 @@ void halSetup() {
// 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, 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