Passing Pins observation
Posted: Thu Dec 11, 2008 10:34 pm
I wrote a module which accepted the passing of pins like this
This worked with past versions of the compiler but with the last upgrade it no longer works. This does
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
Code: Select all
Public Sub GetSHTxx(ByRef pTempF,pHumid,pDewPtF As Float,
ByRef pDataPin, pClockPin As Bit)
Code: Select all
Public Sub GetSHTxx(ByRef pTempF,pHumid,pDewPtF As Float,
ByRef pDataPin As Bit,ByRef pClockPin As Bit)
Tom