have you tried good old trial and error? make sure to use current limiting resistors everywhere and there really is not much which can go wrong.
have you tried good old trial and error? make sure to use current limiting resistors everywhere and there really is not much which can go wrong.