This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: ccs compiler

Other Parts Discussed in Thread: ENERGIA

Tool/software: TI C/C++ Compiler

i am interfacing i pedometer with my msp 430 microcontroller, it is just used for the steps counting purpose . I want to count the pulse which is dectected by the movement of my sensor ..what to do?

  • So the input of the MSP430 is simply a pulse from the pedometer? If this is the case then you should be using a timer in capture mode. If you are using a more complex sensor that requires a communication peripheral (SPI, UART, or I2C) then you will need to use your MSP430's corresponding (e)USCI module.  Please refer to the information provided in the Datasheet and User's Guide.

    Regards,
    Ryan

  • You might want to look at Energia. It has a lot of high level functions for doing exactly this.

**Attention** This is a public forum