@psdk/frame-father
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

@psdk/frame-father

npm i @psdk/frame-father

How to use

  • Add your custom command extend PSDK
  • Add your custom device extend ConnectedDevice

Commander

const command = Commander.make()
  .pushText('TEXT COMMAND')
  .pushBinary(new Uint8Array([0x00, 0x01]))
  .pushClause(CommandClause.text('ANOTHER TEXT COMMAND'))
  .command();
const hex = command.hex(HexOutput.formatWithMaxLength(8));
console.log(hex);

/@psdk/frame-father/

    Package Sidebar

    Install

    npm i @psdk/frame-father

    Weekly Downloads

    11

    Version

    0.6.1

    License

    none

    Unpacked Size

    1.48 MB

    Total Files

    91

    Last publish

    Collaborators

    • fewensa