AnsweredAssumed Answered

function with variable parameters

Question asked by Eugenio Mendez on Jun 8, 2012
Latest reply on Jun 12, 2012 by Eugenio Mendez


is it possible create a function with variable parameters on CW6.3 SE ?

I did a function    void SendUart(byte *pbFrase,byte bQUart ) and and works perfectly

With  a MCF51QE128 if If I transmit  SendUart("Hello",2 ) I receive OK on a serial terminal.

I do void SendUart(byte *pbFrase,byte bQUart,... ) to acept variable parameters CW6.3 doesn`t give errors

but not work well.

When I debbug the function don´t pass well the parameters.

Maybe U have another way to define these functions.
ia there some experience in this area?