2 Replies Latest reply on Mar 14, 2013 5:51 AM by user_14586677

    read 24 bit counter value error

    yenni.venkateswara.rao

      unsigned long value;

         

      void main(void)

         

      {

         

         Counter24_1_start();

         

        Counter24_1_ReadCounter(value);

         

      }

         
          

      W E:\YVRAO\psocexam\COUNTE~1\COUNTE~1\main.c(11):[warning] calling a function without prototype may cause runtime errors if the function does not return int or unsigned int

      !E E:\YVRAO\psocexam\COUNTE~1\COUNTE~1\main.c(12): type error in argument 1 to `Counter24_1_ReadCounter'; found `unsigned long' expected `pointer to unsigned long'

      C:\PROGRA~1\Cypress\Common\CYPRES~3\tools\make: *** [obj/main.o] Error 1

       counter24bit - 2 error(s) 1 warning(s) 19:49:52