Project

General

Profile

Statistics
| Branch: | Revision:

root / toolbox / current.c @ e8960789

History | View | Annotate | Download (1.85 KB)

# Date Author Comment
e8960789 02/28/2013 09:32 PM Thomas Mullins

Fixed another overflow bug and removed isqrt

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