Jump to content

bthomsen

Members
  • Content Count

    1
  • Joined

  • Last visited

About bthomsen

  • Rank
    Noob Class

Contact Methods

  • Website URL
    https://bennthomsen.wordpress.com/engineering-toolbox/ti-msp430-launchpad/

Profile Information

  • Gender
    Not Telling
  • Github
    https://github.com/bennthomsen
  1. Just a note for those of you interested in using this code to create a touch slider in order to control the brightness of an LED using PWM. When used with the TOUCH_BUTTON option which tends to give the most accurate response, the MSP430 is put into Low Power mode 3 (LPM3_bits) which turns of SMCLK and ACLK, if you happen to be using these to clock TimerA1as your PWM then this will stop working every time you call isTouched. The simplest solution is to replace LPM3_bits on line 165 of the CapTouch.cpp file with LPM0_bits.
×
×
  • Create New...