From 3bf1fe6513db836fbb5280197940eceacff81c79 Mon Sep 17 00:00:00 2001 From: Ash-4 <81280775+Ash-4@users.noreply.github.com> Date: Fri, 2 May 2025 23:55:20 -0500 Subject: [PATCH] PCF8574 output pin initialization parameter --- myHal.cpp_example.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myHal.cpp_example.txt b/myHal.cpp_example.txt index d10f981..6e561b3 100644 --- a/myHal.cpp_example.txt +++ b/myHal.cpp_example.txt @@ -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