//
// Low Power Mode
// By pek '2005
//
// MCU: 16F628A
// Clock: Internal
//
// To be used with the CCS compiler
//

#include <16F628A.h>
#fuses INTRC_IO,NOWDT,NOPROTECT,NOLVP,PUT,MCLR,NOBROWNOUT

// Bits in hardware
#bit OSCF = 0x008E.3 // 1 = 4MHz (default), 0 = 48kHz

// Main
void main()
{
   OSCF = 0; // Low Power Mode (48 kHz)

   while(1);
}
