we are using relay to control hairdryer ,until now ,we have finished the board design ,so we need to use MPlab to just testing the relay .Dont know how to write code to control relay ,Please help!!
there is our schematic design below
there is our schematic design below