Go Down

Topic: analog Value's into Array? (Read 374 times) previous topic - next topic

daidalos

Aug 11, 2008, 06:26 pm Last Edit: Aug 11, 2008, 07:32 pm by daidalos Reason: 1
Hello everyone,

Quick question for you - I need to pass 5 integers into an array to fill spots
  • - [4] respectively, and constantly update every time the loop is run.
    The value's come from a Thermistor, and I'd like to be able to compare array locations 0 and 4, so I can determine if the most current reading is lower than a reading 5 seconds ago. (I'll then be able to tell if something is beginning to cool off ...)

    EDIT:
    ah .. I think I've got it for the most part - the Smoothing example is quite useful here.

    Any other ways would be cool to check out though - cheers

Go Up