Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

We need more info! Timers used by what

$
0
0

Well hello guys, i have more complaints!!!, kiding, it just seems i only apear here to complain or want to change sometigh

This is a problem i had specificaly with Tiva board

 

Well i went and visit my old high school club and they had a problem. I found out was confliting timer usage betwen servo, PWM and milis(). 

I had to check the source files and found out they were using the same timer for the servo and PWM.

 

Since servo and milis timer (wich milis shouldn't even be a general timer in the Tiva) can't be changed unless it is in the source files i think there should be more information available about this. Like saying wich timers are used for what, wich one is for pulsein, milis, servo. And wich pins should not be used for PWM when using those fuctions).

I sugest servo because it's a library that comes with Energia by default.

 

milis() usse TIMER5 

pulsein() it uses micros() so TIMER5

servo TIMER2

 

and any others that Energia functions use or default libraries

 

This would probably help alot of people so they don't have to search the source files


Viewing all articles
Browse latest Browse all 2077

Trending Articles