Debugged SD print to logic