Jump to content

CapTouch and PWM with same timer?

Recommended Posts

And another silly question from me. Let's say I need Cap Touch and PWM on an MSP with just one timer. I mean CapTouch example (Not the library for BoosterPack) from TI uses timer and WDT and works like a charm but I kinda lost on how to throw PWM into the mix. I thought about using timer for Cap Touch and when touch is sensed (I just need one button) switch the timer to PWM and stay there for a while (Fade some leds in and out) and then go back to Cap Touch etc. But the problem is it just doesn't work, its all jumpy, twitchy and I'm lost so If you would be so kind to lend a helping hand I would be very grateful.



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...