Project

General

Profile

Statistics
| Branch: | Revision:

root / toolbox / current.c @ db11713d

History | View | Annotate | Download (2.1 KB)

# Date Author Comment
db11713d 02/27/2013 08:38 PM Thomas Mullins

Fixed timing in current sensing

The ADC interrupt didn't clear the TIFR timer interrupt flag, which
means the ADC wasn't triggered again on the next compare match.

975af07c 02/18/2013 12:05 AM Thomas Mullins

Fixed overflow in current calculation

f4df665c 02/10/2013 03:20 PM Thomas Mullins

Switch ADC to timer 1 because timer 0 was taken. Oops.

cbda92cc 02/09/2013 10:40 PM Thomas Mullins

Untested current RMS calculation

It's not actually RMS, it's variance. Same general idea.

10936c07 12/11/2012 03:39 PM Thomas Mullins

Added current sensing to toolbox