You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • What Espruino device would you be using to send the data?

    Personally, I'd say it's best to use a peripheral that can stream out data bits in one long chunk rather than relying on bit-bashing - so most likely SPI (or on nRF52 we use the I2S peripheral for neopixels).

    So then you just build up a bit stream in an array and send that array to Espruino to send.

    On nRF52 that may be slightly more problematic (I'm not sure we can guarantee SPI doesn't have pauses), but if that is an issue, I could expose the code that's used for neopixels, because under the hood that's exactly what we do there on all platforms - just stream out a long string of bits without any gaps.

About

Avatar for Gordon @Gordon started