Hi, I just wanted to point out that there seems to be small bug in
the test code shown in the PDF:
switch(c) {
case 'b': PCON=1;
case 'c': PCON=1;
case 'd': UartOff();PCON=6;
case 'e': PCON=2;
case 'f': PCON=6;
}
should probably have been:
switch(c) {
case 'b': PCON=1; break;
case 'c': PCON=1; break;
case 'd': UartOff();PCON=6; break;
case 'e': PCON=2; break;
case 'f': PCON=6; break;
}
GuilleMessage
LPC213xpower.pdf by Owen Mooney
2005-10-30 by Guillermo Prandi