writing in to a micro sd card without using serial function