Page 1 of 1

Passing Pins observation

Posted: Thu Dec 11, 2008 10:34 pm
by Tom Estes
I wrote a module which accepted the passing of pins like this

Code: Select all

Public Sub GetSHTxx(ByRef pTempF,pHumid,pDewPtF As Float,
                    ByRef pDataPin, pClockPin As Bit)
This worked with past versions of the compiler but with the last upgrade it no longer works. This does

Code: Select all

Public Sub GetSHTxx(ByRef pTempF,pHumid,pDewPtF As Float,
                    ByRef pDataPin As Bit,ByRef pClockPin As Bit)
By not working I mean that the port pins appear to be ignored. Whatever I'm trying to do on them never shows up. There are no compiler errors. It's an easy fix but it took me some time to ferret out why my module was no longer working. Maybe will save you some work.

Tom