You declared medsensor as a single byte but you are trying to put 4 bytes in it. You need to declare medsensor as an array and pass the array.
Code:
void TI1_OnInterrupt(void){ byte medsensor[4]; bool waitformed; waitformed = 1; adc_Measure(waitformed); adc_GetValue8(medsensor); flag = 'Z';} Message Edited by allawtterb on
2008-05-20 03:32 PM