piclist 2002\08\05\062732a >
Thread: problems with delays (long newbie posting)
www.piclist.com/techref/microchip/begin.htm?key=delay
face picon face BY : Jinx email (remove spam text)



> The 'flash-a-led' gave me some problems, I found a 'nested-loop'-
> delay that I used but somehow it didn't work right. The LED's either
> were on or off, no action at all. It was actually a PIC16F84 example
> & I thought it might have something todo with that

Could be - RAM starts at 0x0c in the F84 and at 0x20 in the F877.
Assuming the delay used RAM counters and the addresses weren't
corrected............

Post the listing for the bit(s) giving you trouble, probably easily fixed.
Make sure to include any references to memory, variable and port
declarations, the problem may not be where you think it is. Curiously
though, it is always in the last place you look

> So I think I should find the problems somewhere else, but I don't
> knowwhereto look.

> *the LEDs share the PORTD with the LCD controller, but the
> documentation says it is to be ignored

More than likely that's true. You can use the LCD data lines
for other things. Nothing will happen to the LCD display if
you aren't sending it commands over RS, R/W and E

> * Maybe it has something todo with 'jitter', I found some thing on
> www.piclist.com/techref/microchip/timer.htm
> but this gets ways too technical for me.

Jitter is just a measure of accuracy of the delay, it won't make a
difference to the execution of the delay itself, especially not one
of many milliseconds

> Further I would like to know, these flashPICs like 877, can they
> be reprogrammed a certain limited amount of times, or are they
> forever reprogrammable ?

Around about 1000 times

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


<000a01c23c6a$b0003a00$784a61cb@joe> 7bit

See also: www.piclist.com/techref/microchip/begin.htm?key=delay
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) problems with delays (long newbie posting)

month overview.

new search...