hamidraza22
Newbie level 6
hey i have two problems in doing ma fyp.
1. i m using 8051 controller with C language,. can any1 give me any specimen that how can i pass an array through a function.mean a function should be called with an array and in the function it gets sum value and then in the main program another function the same array have to b used.
2. interrupts in C. while using a single instruction in the "while" loop the external interrupt run as it has to.mean its alright with a single command but when i use 2 or more command then it just execute the interrupt on the right occasion n then it stucks until reset has to b pressed.how can i make it done.
thanku
1. i m using 8051 controller with C language,. can any1 give me any specimen that how can i pass an array through a function.mean a function should be called with an array and in the function it gets sum value and then in the main program another function the same array have to b used.
2. interrupts in C. while using a single instruction in the "while" loop the external interrupt run as it has to.mean its alright with a single command but when i use 2 or more command then it just execute the interrupt on the right occasion n then it stucks until reset has to b pressed.how can i make it done.
thanku