explanation.. please

Post here to discuss the reaction game.

Moderators: Chuckt, Garth, bitfogav

Post Reply
nodoubtman
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 76
Joined: Wed Jan 25, 2012 2:54 am

explanation.. please

Post by nodoubtman » Wed Mar 07, 2012 7:10 am

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:)

User avatar
brad
Site Admin
Site Admin
Posts: 2576
Joined: Fri Mar 26, 2010 10:30 pm

Re: explanation.. please

Post by brad » Thu Mar 08, 2012 7:39 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests