raman00084
Full Member level 6
how much pulses will be there in a second for 1khz frequency
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
void main(void) {
while(TRUE) { // Produces a 1khz square wave on pin B0
output_high(PIN_B0);
delay_us(500);
output_low(PIN_B0);
delay_us(500);
}
}