>Yes but why in eeprom ? Or did I misread your posting ? I never mentioned storing in eeprom. Perhaps it could have been read that way, but what I was meaning was an algorithm along the following lines. 1. remember current tilt angle when engine switched off (in suitable ram location) 2. allow settling time for tilt to change as occupants leave vehicle. This can probably be denoted by vehicle being locked. 3. allow a small rapid change in tilt value for short time to allow wind or draught from passing vehicles to rock car. This can probably be recognised readily by knowing the natural resonant frequency of the suspension system. 4. Sound alarm if long term slow rate of change in tilt (car being jacked/lifted for towing) or large amplitude natural resonance oscillation (car being attacked by joyriders/rioters etc). An accelerometer of the type made by Analog Devices would be ideal for doing something like this. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu