• AT89C51 average sampling rate
    Dear all, I'd like to use AT89C51 for sampling. The samples are going to store in a external RAM. Is the sampling rate equals the oscillator attached? I heard that the max rate is less than 500ksps...
  • Need to know what code to use to take an average
    Hello, I am trying to find out how to write a program which will take the average over the day. I dont want it to just take the average over the last 24 hours, I know how to do that, rather I want to...
  • Moving average Routine for 24 bit ADC
    Hi I working on a project where i have interfacing 24 bit ADC to AT89s52. I want to implement moving average window method for better resolution. Any one can suggest me how to implement moving average...
  • long long int for floating average computation
    I want to compute a floating average of third order. Just take a look at my code: void IRQ_Handler()__irq __ram { static long long unsigned int ACC1,ACC2,ACC3,ACC3D; static long long unsigned...
  • Passing 2-D array
    I want to pass a 2-D array from one function to another function. I wrote the program but sometimes i get wrong values. float Arr[81][10]; void Monitor_Slot1(void) { if(Slot_1 == 0) { Dev_Curr...