I was trying the same thing as you, but I was wanting to have a Point of Sale printer record my daily millage. and use a Real time clock to Give it a daily time stamp!
But my problem was to writing the milliage to the eprom and keeping the pulse count while moving.