White wire is positive. Red wire is positive. D4 White wire is positive. Red wire is grounded. E8 White wire is grounded.
Red wire is positive.
FC Whits wire is grounded. Red wire is grounded. The above values are the values used by the ROM, except for FC which is not used since the system never sets both wires to ground. Other values can be used, but these gives the best results. White wire is grounded.