Erpa48 wrote: ↑Wed Jul 24, 2024 12:01 am
in the console it returned this:
Orientation(\\.\DISPLAY1) = 0
led0 = 1
led1 = 1
led0 = 0
led1 = 0
led0 = 1
led0 = 0
led0 = 1
led0 = 0
led0 = 1
led0 = 0
led0 = 1
I believe it is not enough to be able to get the correct signal that MAME sends to create my project on the Arduino.
If you have anything else to tell me, I would appreciate it.
I guess what Tafoid was trying to tell you, is that this is all that MAME can do, and nothing more. If this is not enough for you, then I guess your project ends here.
Not that I have any actual knowledge on the matter, but I guess I could interpret this output in the following way: There are two leds present, named 'led0' and 'led1'. When the led is off the displayed value is '0', and when it is on the value is '1'. If this would be true, then I guess that the following example:
led0 = 1
led1 = 0
would mean that led0 is on, and led1 is off. And the moment a hypothetical new line would appear that says "led1 = 1", it would mean that at that point led1 would be turned on.
Again, I have no actual knowledge here and am just guessing here, but perhaps it is helpful to you anyway.