GameControllersSTM32 icon indicating copy to clipboard operation
GameControllersSTM32 copied to clipboard

Getting bad data on Gamecube controller

Open GitMoDu opened this issue 6 years ago • 0 comments

Hi, I'm using just the Gamecube controller reader from your library, but I get bad data for every read. If I ignore the validation, I am able to I'm getting everything shifted by bit.

Is there any hardware requirement, like a pull-up resistor, I need to add to get it working properly? I'm using a MapleMini clone (STM32F108).

EDIT: Ok, so I fiddled a bit with the timming constants and got it working.

halfBitReceiveCycles = cyclesPerUS * 1;

GitMoDu avatar Sep 16 '19 18:09 GitMoDu