Revision 610
no explosions! removed hack from ConstantCharging.c and ran a test w/ the medium inductor, no freq hack, and saved it in data
ConstantCharging.c | ||
---|---|---|
278 | 278 |
TCCR1B |= _BV(CS10); //leave timer on and set compare to 0 to make output off |
279 | 279 |
|
280 | 280 |
//hack stuff so it will run in continuous mode |
281 |
TIMSK |= _BV(TOIE1); //enable overflow interrupt for timer 1 |
|
281 |
//TIMSK |= _BV(TOIE1); //enable overflow interrupt for timer 1
|
|
282 | 282 |
|
283 | 283 |
OCR1B = 0; |
284 | 284 |
OCR1A = 0; |
... | ... | |
454 | 454 |
|
455 | 455 |
/* Trickle Charge */ |
456 | 456 |
if(status==1) |
457 |
OCR1B = 10020;
|
|
457 |
OCR1B = 100; |
|
458 | 458 |
} |
459 | 459 |
/* NO CONTACT */ |
460 | 460 |
else |
Also available in: Unified diff