Simple AVR based current meter