i am doing a project which uses PIC 16F877A.There is an array of 16 detectors(2 rows 8 each).the outputs from these detectors are converted into digital values by using comparators.This digital output should be stored in pic and finally shud be given to PC for some processing SO THT I CAN READ THIS ARRAY using matlab.i dont know how to write progam for pic.
hardware used: detector-comparator-pic-max 232-PC