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:)
explanation.. please
Moderators: Chuckt, Garth, bitfogav
-
- Can't get enough of electronics!
- Posts: 76
- Joined: Wed Jan 25, 2012 2:54 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: explanation.. please
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest