This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Thursday, July 19, 2007

[oopic] Re: Angle of attack VII - any help appreciated

If you use a counter with a synchronous reset (reset occurs at clock
edge) then things get a lot easier.

Consider 2 74LS163 4 bit synchronous counters. Clock both together.
Connect the Ripple Carry Output of the low order counter to the Enable
T input of the high order counter. Ground the Enable T input of the
low order counter. Ground all the Data inputs, the Enable P inputs
and the Load inputs.

Now, decode Q4 (the low order bit of the high order counter) AND Q3
(the high order bit of the low order counter) as a count of 24 and run
that to the Reset input. The counters will now count 0..24.

Since you have decoded the 25th count (count = 24) all you have to do
is decode the 13th count (0..12) so: AND together Q3 and Q2 (the high
two bits of the low order counter).

Richard

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! News

Kevin Sites

Get coverage of

world crises.

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Drive Traffic

Sponsored Search

can help increase

your site traffic.

.

__,_._,___

No comments: