[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
Brads Electronic Projects Forum • explanation.. please
Page 1 of 1

explanation.. please

Posted: Wed Mar 07, 2012 7:10 am
by nodoubtman
Hello! I would like to have explanation on this :
bcf PORTA, 1 ; turn on the RED LED and
bsf PORTA, 0 ; turn off the GREEN LED.

what is bcf and bsf and PORTA ?

just a little idea, at the beginning i could write reaction game , but how do i write that on a 7 segment display ?

thank yoU!
marC:)

Re: explanation.. please

Posted: Thu Mar 08, 2012 7:39 pm
by brad
Check out this tutorial:
http://www.bradsprojects.com/electronic ... rial2.html

It has the info on bsf and bcf.

as for writing text on the seven segment display, you are severely limited - you would want to use an lcd display most probably.

Be sure to check out the rest of my Assembly tutorials which will explain alot of the most common instructions.