uomwolverine32
Newbie level 2
Hi guys, I am currently working on a project. I am using a PICF18 microcontroller, in addition I am using mikroC Pro to code. I need a bit of help with the coding.....i want to be able to turn on/off a BJT that will be connected to one of my pin ports. How can I send the needed dc voltage level to this pin port?? I am going to be using a keypad (i already wrote this code), so I would just need a function that sends this needed voltage to the pin when the user wants to activate the switch (send 1.5 Vots) and a function that will deactivate the BJT(send 0 volts to the pin port). Any ideas??