piclist 2001\01\22\012913a >
Thread: Generation d'un Signal Carré
face BY : Dan Michaels email (remove spam text)

Jacky Joulin wrote:

{Quote hidden}

Not quite sure what you are talking about here :), but it's a minor inconvenience to generate an exact 1000hz output using Timer0
on a PIC running off a 4Mhz crystal.
However, if you use a 4.096Mhz crystal instead, then you can
use a prescaler value of 2 with Timer0, and get exactly 1Khz.

OPTION = 00h    ; TMR0 source=clock, prescaler to TMR0, prescale by 2.

http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

<> quoted-printable

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Generation d'un Signal Carré

month overview.

new search...