Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

LPC213xpower.pdf by Owen Mooney

2005-10-30 by Guillermo Prandi

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;
}

Guille

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.