poukah - 2021-03-12

Hi guys,

I figured out how to access the serial port and send data back to the arduino by adding a Serial_write function (method? I'm not confortable yet with thos terms) in CInput.py and by calling it from pydarts.py.
Hence, I can trigger some led animation for event like "Winner is" or any event that occurs inside pydarts.py.
What I am trying to do now is to use Serial_write directly from a game, let's say, killer (this one is awesome by the way!) but I'm stuck. I'd like this to work with any config so I 'd like to access it the same way I access it by using "Inputs" object in pydarts.py.
I hope I 'm clear enough to describe my problem.

best regards,

poukah