cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

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

   
0 Likes
Reply
2 Replies
Anonymous
Not applicable
0 Likes
Reply
Esteemed Contributor

Bob Marlowe answered this www.cypress.com/

   

 

   

Regards, Dana.

0 Likes
Reply