2 Replies Latest reply on Apr 11, 2014 12:11 PM by JoMe_264151

    How to use the parameters in PSoC Creator

    sawac_284216

      Okay so I keep seeing all these capital letter definitions or whatever they are called and I don't know how to use them..

         

      things like STATUS_RUNNING and ADC_WAIT_FOR_RESULT

         

      For my project I want to check if the timer is running, I can see from the documentation that the "readStatus" function returns the following parameters.. STATUS_DOWN and STATUS_RUNNING

         

         

      I was thinking I could use them like so... if(Timer_ReadStatus() == STATUS_RUNNING) but PSoC creator is not happy with that..

         

      any ideas?