micro:bit universal hex
    Preparing search index...

    Function createUniversalHex

    • Creates a Universal Hex from a collection of Intel Hex strings and their board IDs.

      For the current micro:bit board versions use the values from the microbitBoardId enum.

      Parameters

      • hexes: IndividualHex[]

        An array of objects containing an Intel Hex string and the board ID associated with it.

      • blocks: boolean = false

        Indicate if the Universal Hex format should be "blocks" instead of "sections". The current specification recommends using the default "sections" format as is much quicker in micro:bits with DAPLink version 0234.

      Returns string

      A Universal Hex string.