LpcExpresso + LpcOpen

Petr Štetiar ynezz na true.cz
Čtvrtek Únor 6 11:25:32 CET 2014


Marek Sembol <hwm.land na gmail.com> [2014-02-06 09:33:52]:

> Ale jo, priklady jsou komentovany pomerne podrobne, co mi u nich chybi je,
> ze v hlavicce je (staci 1-2 vety) co to ma delat.
> Je tam napsano treba "PWM example", uvital bych neco jako "pomoci PWM
> cyklicky zvysuje/snizuje jas LED"...
> A v dokumentaci jsem to prave taky nenasel - asi spatne hledam:(

Example description

This example demonstrates how to use the SCT to create 3 simple independent
PWMs that use no CPU cycles or system bandwidth when it's running. The SCT is
configured to control the LED brightness on the board LEDs using the CTOUTn
outputs of the SCT. A single function will allow the brightness of the LED to
be changed by altering the SCT PWM timing.  See the comments in-code for
detailed setup steps for the SCT.

lpcopen_docs_v2_01_8xx/group___e_x_a_m_p_l_e_s___p_e_r_i_p_h__8_x_x___s_c_t___p_w_m.html


Další informace o konferenci Hw-list