Hi every one
I'm trying to copy a data from PIC memory to PC main memory for further analysis.... But I couldn't find how ,,, I'm using MicroCode Studio pluse , PICBASIC PRO COMPILER 2.60 full version, PIC (16f877a or PIC18f4620) ,LABX1.
The verible define and ADC in the program can shwon as following :
X var word[40] ' Create to store results
Y var word [40] ' Create to store results
MAINLOOP:
for n = 0 to 39
ADCIN 4 , X [n] ' read channel A5 and put result in X [ array]
ADCin 2 , Y [n] ' ' read channel A2 and put result in Y[ array]
pause 1
next n
My Question is, how can I export the data [ X[n],Y[n] ] from the PIC memory to PC main memory and save it as a file such as txt or Excel?
Thank you in advance
Yousif M.
Bookmarks