Simple here is and example from wiki

http://www.picbasic.co.uk/forum/cont...USB-SD-LOGGING

or is it simple?