hi there,i am usin a PIC now to control a triac,problem is, do i juz connect a triac like i do with a connection of transistor,e.g. base to input etc...,if so,how do i actually go abt controllin the dimness of the light,like usin a variable resistor to control the amount of current goin into the triac?pls tell me more abt triac...sorry,n how do i choose the approiate triac?