beautypg.com

Texas Instruments MSP50C6xx User Manual

Page 352

background image

C– – Efficiency

5-56

writeCharacter(’ ’);
break;

case 1:

writeCharacter(’ ’);
writeCharacter(’(’);
rowOne();
for(temp=0; temp<17; temp++) writeCharacter(’ ’);
writeCharacter(’o’);
break;

case 2:

writeCharacter(’ ’);
writeCharacter(’|’);
rowOne();
for(temp=0; temp<16; temp++) writeCharacter(’ ’);
writeCharacter(’o’);
writeCharacter(’ ’);
break;

case 3:

writeCharacter(’ ’);
writeCharacter(’)’);
rowOne();
for(temp=0; temp<15; temp++) writeCharacter(’ ’);
writeCharacter(’o’);
writeCharacter(’ ’);
writeCharacter(’ ’);
break;

}
rowOne();

}

setTime() was also modified to place an indicator on the LCD below the value
that is being set. updateTime() was modified to call showTime() after the time
is updated.