Passing Pins observation

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
Tom Estes
Registered User
Registered User
Posts: 37
Joined: Thu Dec 14, 2006 4:19 pm
Location: Monkey Island, Oklahoma USA

Passing Pins observation

Post by Tom Estes » Thu Dec 11, 2008 10:34 pm

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

Post Reply