Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Colin Mac ; Forum: Assembly and child forums
Forum: Assembly Nov 3rd, 2009
Replies: 6
Views: 520
Posted By Colin Mac
But does your simulation work when you apply a logic high or low to the port pin, by means of, say a switch?

When you connected a voltmeter to the output of the LDR, what readings did you get when...
Forum: Assembly Nov 3rd, 2009
Replies: 6
Views: 520
Posted By Colin Mac
You don't need a ADC. Put the LDR in series with a resistor of about 10K and connect the output of the LDR to a port pin. When the Laser shines on the LDR, its resistance will be much lower than 10K...
Forum: Assembly Nov 2nd, 2009
Replies: 6
Views: 520
Posted By Colin Mac
You've explained what you need to do, but you haven't asked a question.
An LDR in a voltage divider would replace the switch, if your code works for a switch, it will work with a LDR. But it's not...
Forum: Assembly Oct 20th, 2008
Replies: 4
Views: 583
Posted By Colin Mac
If P1.2 is set and you move P1.2 to C, then C is set.
Forum: Assembly Oct 20th, 2008
Replies: 4
Views: 583
Posted By Colin Mac
MOV C, P1.2 simply moves the value on the port pin to the carry.
Forum: Assembly Feb 23rd, 2008
Replies: 2
Views: 1,558
Posted By Colin Mac
http://www.allaboutcircuits.com/vol_4/index.html
Chapters 7,8
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC