LM3S-Study (10) 썸네일형 리스트형 [LM3S2965] PWM 제어 [LM3S2965] PWM 제어 Luminary Micro Cortex-M3 LM3S2965 PWM 예제소스코드 The following example shows how to initialize the PWM Generator 0 with a 25-KHz frequency, and with a 25% duty cycle on the PWM0 pin and a 75% duty cycle on the PWM1 pin. This example assumes the system clock is 20 MHz. 1. Enable the PWM clock by writing a value of 0x0010.0000 to the RCGC0 register in the System Control module. 2. En.. [ LM3Sx08 EVM] 테스트예제 - USB이용 PC에서 LED제어 예제 [ LM3Sx08 EVM] 테스트예제 - USB이용 PC에서 LED제어 예제 [ LM3Sx08 EVM] 보드 예제소스를 이용하여 PC에서 LED제어하는 예제를 작성해 보았다. USB2Seiral 칩을 이용하여 USB를 통해 보드상의 LED를 마우스 클릭으로 제어 하도록 했다. 원리는 시리얼포트로 특정 커멘드를 보내서 LED를 제어하는 간단한 예제이다. 예제소스 : 테스트 동영상 LM3S308 (LM3S608, LM3S808 호환)보드를 이용 PC에서 LED제어 동영상 이전 1 2 다음