AnsweredAssumed Answered

Build on PEx-generated code fails: EventCntr16

Question asked by Matthew Smith on Mar 11, 2013
Latest reply on Mar 13, 2013 by Matthew Smith

Working with Codewarrior 10.2, MC9S08AC16CFG.


I add the component EventCntr16, with mode Repetitive and Iterations before action 32768. My goal is to count pulses on a pin, and invoke EC161_OnEnd every time the count is reached. (I'm assuming that the counter is cleared automatically - or do I have to do this manually as part of EC161_OnEnd?)


When I go to build project, I get the following error:


C5200 Limits.h file not foundEC161.c/nebinclock/Generated_Codeline 48C/C++ Problem
make: *** [Generated_Code/EC161_c.obj] Error 1nebinclockC/C++ Problem


What am I - or is PEx - doing wrong?