asking
Full Member level 5
- Joined
- Sep 21, 2010
- Messages
- 279
- Helped
- 6
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 1,298
- Activity points
- 3,377
Hello
I am using MikroC Code for generating PWM signal Code is :-
I got the 38.2KHZ signal of PWM on my CRO. I need Burst of 38.3KHZ signal with 10ms gap. How to generate it ? is it possible with one microcontroller or do i need to use external switch to on/off signal from MCU ? Please help me.
I am using MikroC Code for generating PWM signal Code is :-
Code:
void main()
{
TRISB = 0; // pins are output, GP3 always input
PWM1_Init(38000);
PWM1_Start();
PWM1_Set_duty(120);
while(1){}
}
I got the 38.2KHZ signal of PWM on my CRO. I need Burst of 38.3KHZ signal with 10ms gap. How to generate it ? is it possible with one microcontroller or do i need to use external switch to on/off signal from MCU ? Please help me.