Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timgabets/atm-opcode-buffer
ATM Operation Code Buffer service
https://github.com/timgabets/atm-opcode-buffer
Last synced: about 2 months ago
JSON representation
ATM Operation Code Buffer service
- Host: GitHub
- URL: https://github.com/timgabets/atm-opcode-buffer
- Owner: timgabets
- Created: 2017-10-11T06:38:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T06:39:32.000Z (over 7 years ago)
- Last Synced: 2024-11-08T09:12:59.112Z (2 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
Awesome Lists containing this project
README
# atm-opcode-buffer
ATM Operation Code Buffer service, used by [Electron ATM](https://github.com/timgabets/electron-atm) and [ATM State Navigator](https://github.com/timgabets/states-navigator) applications.
## To use:
```javascript
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 '```