Re: Control de puertos PIC16F877A / Port Control PIC16F877A

Originally Posted by
martintorres
aaaaaaaaaa but archangel opened my eyes a little file that rose ( machine tach.txt) ... What I'm going to study a little to see if it is what I play and commented glance
I wouldn't put too much on what you found in my machine tac, it's too slow for automotive I think, you would want a timer bases counter, given the sample rate of an auto ignition. As far as the question you asked : PortB = %11111111 should set all PortB to high state. I prefer binary as I do not get confused, you could use decimal or hex as well i e . . . portb = FF or portB = 255 .
If you use the LM3914 as you mentioned you will have an analog tach with a digital display, with all the advantages and disadvantages of both.
Last edited by Archangel; - 2nd October 2013 at 17:59.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks