It is currently 26 May 2018 03:28

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 08 May 2018 07:25 
Offline

Joined: 05 May 2018 07:57
Posts: 1
Hi,

I'm currently using a timer (up/down) to generate a frequency from 10Hz to 2Khz, I want the user to be able to control what freq they want the pins to output. I have the code all working all except for figuring out how to determine the calculation value to put into TA0CCR0 register. Is there a simple calculation to determine this?

Please help.

I didn't find the right solution from the Internet.

References:-
https://bit.ly/2HWTqZS


Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: