The blinking speed changes as per the switch.This code is created using hitech c plat form in the mplab
File list:
Switch base LED blink
....................\funclist
....................\startup.as
....................\startup.lst
....................\startup.obj
....................\startup.rlf
....................\Switch base LED blink.as
....................\Switch base LED blink.C
....................\Switch base LED blink.cof
....................\Switch base LED blink.hex
....................\Switch base LED blink.hxl
....................\Switch base LED blink.lst
....................\Switch base LED blink.map
....................\Switch base LED blink.mcp
....................\Switch base LED blink.mcs
....................\Switch base LED blink.mcw
....................\Switch base LED blink.obj
....................\Switch base LED blink.p1
....................\Switch base LED blink.pre
....................\Switch base LED blink.rlf
....................\Switch base LED blink.sdb
....................\Switch base LED blink.sym