Cash Register
A working 90s-style Casio-inspired cash register controller. It handles normal sales, subtotals, cash tender, change, charge payments, refunds, no-sale drawer opening, paid-out, received-on-account, percent discounts, tax shift, X reports, and Z resets. Main Outputs text: segmented display text keyangle: mode switch angle drawerout: drawer position, 100 open / 0 closed Mode Key Press keybutton to cycle: OFF -> REG -> X -> Z -> RF -> OFF Modes: REG: normal sales X: read totals without clearing Z: read and clear totals RF: refund mode OFF: disabled Basic Sale To sell $7.25 and $2.00: digit7 digit2 digit5 dept1 digit2 digit00 dept1 subtotal cash_tend The display will show the item, subtotal, and finalized cash amount. The drawer opens after cash tender. Cash With Change For a $9.81 total paid with $10.00: subtotal digit1 digit0 digit00 cash_tend Display shows CG 0.19. Tax Shift Press ra_ts before entering an item to toggle tax shift. When T1 is shown, the next department item gets taxed. Example: ra_ts digit7 digit2 digit5 dept1 Discount percent applies a discount to the current sale. Press % alone for default 5% Type a number first for a custom percent Example: $10.00 with 10% off: digit1 digit0 digit00 dept1 digit1 digit0 percent Other Keys clear: clears typed number err_corr: fixes last item, or subtracts typed amount during a sale no_sale: opens drawer when no sale is active po: paid out from drawer ra_ts: received on account if amount is typed, tax shift if no amount is typed ch: charge payment md_st: merchandise subtotal feed: paper feed display only Amounts are typed in cents, so $7.25 is 725, $2.00 is 200, and $10.00 is 1000.
- Published
- July 17, 2026 at UTC
- Updated
- July 17, 2026 at UTC
- Version
- 2
- Share code
p14-78n-601