Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Kako upotrebiti "Clock_kHz();"

[es] :: Elektronika :: Mikrokontroleri :: Kako upotrebiti "Clock_kHz();"

Strane: 1 2

[ Pregleda: 4166 | Odgovora: 20 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

ha_23

Član broj: 282489
Poruke: 219
217.196.199.*



+4 Profil

icon Re: Kako upotrebiti "Clock_kHz();"29.12.2012. u 16:25 - pre 136 meseci
@ZAS011:
Da tako e,
Code:
Calculation of the PWM frequency value is carried out by the compiler, as it would produce a relatively large code if performed on the library level. 
Therefore, compiler needs to know the value of the parameter in the compile time. That is why this parameter needs to be a constant, and not a variable. 

 
Odgovor na temu

[es] :: Elektronika :: Mikrokontroleri :: Kako upotrebiti "Clock_kHz();"

Strane: 1 2

[ Pregleda: 4166 | Odgovora: 20 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.