I am very new to assembly language and I have been instructed to make the brightness of a bright white LED to vary according to the brightness of the room that the LED is in, the brightness of the room will be detected by a light dependant resistor and the PICKIT3 must be used to program this scenario. My question is how exactly do you make the output voltage coming out of the pickit vary? Is there some simple assembly instruction that can do this? And how exactly can I enable the input from the light dependent resistor to be understood by the PicKit? Any help will be much appreciated

7 Years
Discussion Span
Last Post by thines01

Your code will be the intermediary between the two.
Do you have a list of commands for the processor(s) involved?
I'll see if I can help.

I'm looking at the manual, now: http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit_3_User_Guide_51795A.pdf

and this one:

And this project to use the LED as a light sensor:
It is in C, but looks translatable.

Edited by thines01: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.