#include <16F628.h> #device *=16 #use delay(clock=4000000,RESTART_WDT) #fuses INTRC_IO,WDT,PUT,BROWNOUT,NOMCLR,NOLVP #define MOSFET PIN_A0 #define C2INMINUS PIN_A1 #define C2INPLUS PIN_A2 #define tens PIN_A6 #define ones PIN_A3 #define button PIN_A5 #define dayled PIN_A7