![]() |
Relays code not compiling
I know new programmers really shouldn't play with Beta code, but I had to. I am trying to port last year's code to Kevin Watsons' new MCC18 3.0+ code. I called the Generate_Relay function like in the old code, and get this error.
Code:
MPLINK 4.21, Linker |
Re: Relays code not compiling
I don't remember there being a "Generate_Relay" function in the old base code. The Relay output pins have no muxes, etc. between them and the user processor, as far as I know they're actually directly tied to the processor's pins.
i.e. relay1_fwd = LATEbits.LATE0 You shouldn't have to call anything. -q |
Re: Relays code not compiling
Thanks. I guess I missed it reading through last year's code. I read through all the user stuff. However, the original programmer did not bother commenting his code well. I will look again. It has to be there somewhere. At least I know it is not something standard. Now I have an idea of where to look.
|
| All times are GMT -5. The time now is 00:06. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi