Nonprofit Pizza Maker

    atm-opcode-buffer

    1.0.1 • Public • Published

    atm-opcode-buffer

    ATM Operation Code Buffer service, used by Electron ATM and ATM State Navigator applications.

    To use:

    const OperationCodeBufferService = require('atm-opcode-buffer');
    var opcode = new OperationCodeBufferService();
     
    var stateD = { 
      clear_mask: '000', 
      A_preset_mask: '000', // 0000 0000
      B_preset_mask: '042', // 0010 1010
      C_preset_mask: '006', // 0000 0110 
      D_preset_mask: '000', // 0000 0000
      extension_state: '000' 
    };
     
    s.setBufferFromState(stateD);
     
    console.log(s.buffer);
    > ' CCB B  '
     

    Keywords

    Install

    npm i atm-opcode-buffer

    DownloadsWeekly Downloads

    10

    Version

    1.0.1

    License

    LGPL-2.1

    Last publish

    Collaborators

    • timgabets