Sha256: 2f5c1cd9d1e9c2d06603166851f02c3461484dc466caf0d431bd5ab77d19d856
Contents?: true
Size: 763 Bytes
Versions: 4
Compression:
Stored size: 763 Bytes
Contents
- vmsim start - required in ~/.vendingmachine/control/main.rb - zut in gem - gem voor - api voor display (show (line, message)) Devices.display_show(line, message) Devices.on_button_pressed(0) { } Devices.get_display().show(line, message) Actuators(:display).fire(:show, line, message) - api voor buttons (list, on_pres(0)) VM.get_button(0).on_press { } Sensors.on( - api voor drawers (on_pres(0), drop(0)) VM.get_drawer(0).drop() - api voor bin (on_entry, on_fetch_all) - api voor cashregister (on_fill(100), on_insert(100), drop(100)) ============== DONEDONEDONE ==================== - vmdeploy exe - vmdeploy - stopt vmsim als running - - start vmsim
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vmsim-1.0.1 | doc/todo.txt |
vmsim-1.0.0 | doc/todo.txt |
vmsim-0.2.4 | doc/todo.txt |
vmsim-0.2.3 | doc/todo.txt |