1 Reply Latest reply on Jul 27, 2016 11:14 PM by JoMe_264151

    Reading ADC Conversion

      Hello, I wanted to know what the easiest way is to read and display the ADC converted values in PSOC Creator. I am working with 4200 BLE PSOC. Any help will be much appreciated!

        • 1. Re: Reading ADC Conversion

          There are two APIs for the ADC: one is waiting for a result ready and the other actually gets the converted data. There are APIs to convert those digital counter values into a mV or V number.


          Display? Which display?


          You might take the chance to use the USB-UART bridge in your Development kit (I assume you have got one). Read the chapter in the Kitprog manual that was installed on your PC when you installed the kit software. The bridge together with a terminal emulation on your pc (as PuTTY) will let you send ASCII data to your screen. Use sprintf() for conversion, take care when using floats, there are some pitfalls.