From 3addfd2fa510cc4b55bc6f5f56860a0f87fea99d Mon Sep 17 00:00:00 2001 From: Gerry Stellenberg Date: Mon, 27 Jun 2011 20:17:18 -0500 Subject: [PATCH] Change comments around polarity being true. PDBs are now active high only. --- examples/pinproctest/drivers.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/pinproctest/drivers.cpp b/examples/pinproctest/drivers.cpp index 4472773..6301025 100644 --- a/examples/pinproctest/drivers.cpp +++ b/examples/pinproctest/drivers.cpp @@ -192,8 +192,8 @@ void ConfigureDriverGlobals(PRHandle proc, bool driverPolarity) globals.matrixRowEnableIndex0 = 6; globals.matrixRowEnableIndex1 = 8; - // Choose the polarity for the Column strobes. Again, this doesn't really - // matter since the Driver Boards auto-detect polarity. + // Choose the polarity for the Column strobes. PDBs are active high. + // So rows should NOT be active low. globals.activeLowMatrixRows = false; // Not using the Stern P/D board. So disable the Stern tickle logic. @@ -227,9 +227,8 @@ void ConfigureDrivers(PRHandle proc) // First set up a bunch of constants to use later: // The driverPolarity determines when the drivers go high or low when - // they are supposed to be active. For the Driver Boards, this doesn't - // really matter, since they auto-detect polarity. True seems to make - // more logical sense though. + // they are supposed to be active. PDBs are active high. So + // this should be true. const bool driverPolarity = true; // Now start actually programming thing in the P-ROC.