Closed 3lacksky closed 5 years ago
I have a problem reading 2 Controllers and write this data to 2 ports of the Console. If i read 2 Controllers and just write one of the two, it works, but writing 2 just does nothing, hope you can help.
CGamecubeController GamecubeController1(4); CGamecubeController GamecubeController2(7); CGamecubeConsole GamecubeConsole1(6); CGamecubeConsole GamecubeConsole2(5); void setup() { }
void loop() { GamecubeController1.read(); GamecubeController2.read(); GamecubeConsole1.write(GamecubeController1); GamecubeConsole2.write(GamecubeController2); }
It is possibly a timing issue and cannot be solved with an arduino. Its too slow.
Ok, thank you, I will try out more and maybe it will work somehow :)
Let me know, if you have any solution. good luck :-)
I have a problem reading 2 Controllers and write this data to 2 ports of the Console. If i read 2 Controllers and just write one of the two, it works, but writing 2 just does nothing, hope you can help.
include "Nintendo.h"
CGamecubeController GamecubeController1(4); CGamecubeController GamecubeController2(7); CGamecubeConsole GamecubeConsole1(6); CGamecubeConsole GamecubeConsole2(5); void setup() { }
void loop() { GamecubeController1.read(); GamecubeController2.read(); GamecubeConsole1.write(GamecubeController1); GamecubeConsole2.write(GamecubeController2); }