Hi Mr Raaja,
I have try to make this example work:
But i always get 0V output, could you please give me your project file for this i dont know what i could be doing wrong. Im using CY8KIT-001. Also there is a syntax error on four line of code, there is a '(' missed.