| ??? 05/01/02 14:01 Read: times |
#22360 - RE: passing port pin (to Mahmood) |
Mark A. Odell wrote: ------------------------------- Why not to write instead of a doubtful construction DGIO_setDiscrete(RedLED, ON); //your example a simple expression RedLED = ON; This is the thing to do but we have coding standards and they wont allow me to access the port directly from other modules I know port pins must be global but they have to be accessed by a function in the DGIO module. sorry if i didnt explain this earlier. Can this be done or do i have to break the coding standards which my boss wont agree? |



