Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Dakota
#67594 [quote="urbanze"]with 12uS (you use this), frequency is about 71kHz. Now, at end of your code, you put 1uS !, it's the "X" of topic. Theoretically, esp does not make above 250kHz, 1uS give 500kHz and doesn't work, but you used "FALSE", this not make a loop with timer, just an "callback", if use true, timer work like an loop. :(


Yes, the FALSE is for stoping the loop with timer and make a pause of 100 ms or 200 ms. If you know a better way (sure) to modulate the radio signal, please let me know it ;)
User avatar
By urbanze
#67595
Dakota wrote:
urbanze wrote:with 12uS (you use this), frequency is about 71kHz. Now, at end of your code, you put 1uS !, it's the "X" of topic. Theoretically, esp does not make above 250kHz, 1uS give 500kHz and doesn't work, but you used "FALSE", this not make a loop with timer, just an "callback", if use true, timer work like an loop. :(


Yes, the FALSE is for stoping the loop with timer and make a pause of 100 ms or 200 ms. If you know a better way (sure) to modulate the radio signal, please let me know it ;)



Unfortunately, the best thing to do is to use specific hardware or better. :x :cry: :roll: