Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 340 → Rev 333

/FollowMe/FollowMe_MEGA644p_FOLLOWME_V0_1b_SVN.hex
File deleted
/FollowMe/main.c
17,7 → 17,6
 
 
#define FOLLOWME_INTERVAL 1000 // 1 second update
#define CELLUNDERVOLTAGE 31 // lowest allowed voltage/cell; 31 = 3.1V
 
#ifdef USE_FOLLOWME
int16_t UBat = 120;
195,7 → 194,7
if(delay < 1500) delay++;
 
// monitor battery undervoltage
if((UBat < Zellenzahl * CELLUNDERVOLTAGE) && (PowerOn >= 100))
if((UBat < Zellenzahl * 31) && (PowerOn >= 100))
{ // sound for low battery
BeepModulation = 0x0300;
if(!BeepTime)