Search found 1 match

by emilts
Tue Mar 19, 2019 12:50 pm
Forum: General Discussion
Topic: I can not generate pulses of higher frequency than 500 Khz
Replies: 1
Views: 2973

I can not generate pulses of higher frequency than 500 Khz

Hi. I am using Timer, to turn on and off a led (infrered) with "digitalWrtie", but I do not get pulses under 2 microseconds. I need to generate pulses at a frequency of 6Mhz and 13.3Mhz, please can you help me. An example of mythe code is: const int ledPin = 13; volatile uint8_t ledOn = 1; hw_timer_...