You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Which board are you using? All your other questions seem to have been about ESP32.

    Do you want to output just a single pulse? If you do have an STM32-based board likle in https://www.espruino.com/STM32+Peripherals I believe you should be able to set the timer not to auto-reload, in which case it'll just do one pulse.

    ... or you can maybe use SPI - put the pulse (or pulses) you want as bits in an array, and then just use SPI to send the array and the pulses will appear on the MOSI line

About

Avatar for Gordon @Gordon started