Why ASM? Try JALv2, it's easy: http://www.justanotherlanguage.org/ Here's my sd card tutorial: http://www.justanotherlanguage.org/content/jallib/tutorials/tutorial_sd_card Matt. rikAtee wrote: > > Hello there, > > I am working on a project to store data displayed on a seven segment > display. > > > I have written the assembly language code to retrieve the signal from the > seven segment display and decode it into the binary value. > > > My next step is storing the output in a file on a sd card or USB stick in > a continuous list, like so: > _________________________ > Thee txt file on usb stick/sd card: > 01001 <--existing data > 01000 <--existing data > 00111 <--existing data > ____ <--write new data here > _________________________ > > How do I achieve this? I have seen some things in google but without help > I am lost. Is there a solution that simply writes the output of PORTA into > a list on in a text file? Help is appreciated. Remember I am new and know > little. I am eager to learn but simple stuff first please! > > > > Key points: > > I am using PIC16F84 micro controller. > > PORTB are inputs from the seven segment sisplay. > > PORTA are outputs to the storage device. > > My code is written in assembly language. > > The simpler the better. No bells and whistles please. Not yet! > > Willing to change what I have so far. > > I am using MPBALB. In wine, no less! > > Thanks! > http://old.nabble.com/file/p28211893/Retrieve%2Bfrom%2Bseven%2Bseg%2Bdisplay.asm > File attached if interested > -- View this message in context: http://old.nabble.com/Writing-to-sd-card-or-USB-stick-from-PIC-micro-controller.-Can-anyone-help--tp28211893p28442699.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist