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!
See attachment for my code. It wont be pretty! I started this idea last week.
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!
See attachment for my code. It wont be pretty! I started this idea last week.