AMH Debug 5-8-14

Not really debug anymore, just polishing stuff. You can open a serial terminal at 115200 baud on the USB programming jack to “talk” with the game. I’m beefing up what this can do, both for human-readable debugging, and using Bluetooth UART via a tablet or smartphone app.

  •  Improved command parser for serial.
  • On serial terminal, added commands for servo control, SFX and music (see below)
  • Added one-shot switch status return, so tablet app can control rate at which it monitors switch data.
  • Improved main game titles, added vendor logos.
  • Improved attract mode PRESS START graphic (always thought it looked crappy before)

 

————-SERIAL MONITOR COMMAND LIST————-
[E99000] Get current switch state, raw data (2 bytes dedicated, 8 bytes matrix)
[E98000] Toggle serial stream of human-readable switch data
[E97000] Disable Ball Search (useful for testing)
[E97001] Enable Ball Search (default)

[F00ABC] Play sound effect ABC
[F00ZXX] Play music file XX (music files always in _DZ folder)
[F00Z00] Stop music
[V00ABC] Play video file ABC

[SXXzzz] Set servo XX (0-4) to ZZZ Degrees (Only set if you know proper values!)”
[MXXzzz] Activate Coil XX (0-23) for ZZZ Microseconds (0-250)
[LXXzzz] Set light XX (0-63) to ZZZ brightness (0-7)
[L99000] Disable light attract mode
[L99001] Enable light attract mode

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.