PICDEM™ 17 Demonstration Board User’s Guide
DS39024B-page 68
2001 Microchip Technology Inc.
else
// OR in desired LED
LEDbuf |= Temp;
// Write new value to LEDs
*LEDptr = LEDbuf;
}
// Update switch state buffer
SWTbuf = TEMPbuf;
// Wait for ~16ms
Delay1KTCYx(64);
}
}