2 function for MMC - Mikroc pro
$30-250 USD
Kiszállításkor fizetve
Hi All ...
what i need ....
I use PIC18f4520 // 8Mhz
Compiler : Mikroc Pro ..
1- reading collecting data from UART until we found "10" (New Line) then take this data to write it to SD card .. then reset the array to wait for new data ..... the data length not fix . it change fro 1-20.
Note ::: I Write a code for this ... but it write scramble data in SD card , but when I write normal data to SD card .. it write it fine .. the code will be available in attachment ..
2- Second Requirement :: compare the data in SD card
Let say i have 2 file in SD card (txt format)
the first one have this data .. txt1
133
125544
2345
2123244
2323422
1324
4421
the second one have :: txt2
125544
1
133
2345
2123244
1324
2323422
4421
what i need to compare the data in txt2 file with txt1 file ..... that mean
take the first value from the first line in txt2 thin chick it with the txt1 if it is have this value , if it is have match go to next value in second line in txt2 and chick it .. etc.
if no match found for example "1" in txt2 there are no match for it ... the function should return this value
no_match = 1; //default will be 0;
line number =2; // line number in txt2
data_notmatch = 1; // value of the new data which it is not match with txt1 ..
please note this is limited budget project ... any question please ask ..
regards
Projektazonosító: #1699118
A projektről
7 szabadúszó tett átlagosan 115$ összegű árajánlatot erre a munkára
There are some obvious bugs in your code, please see PM for them. I hope fixing them will solve your issues.