Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

pic16f870 a to d, d to a

Status
Not open for further replies.
gramo, if you take eight samples and just shift left three times
is faster than dividing by a decimal number

or take four samples and shift left two times

you get the idea. :)
 
I think 20 readings and outputs/sec would be fast enough, and I think with a 4M clock and prescaler set to 256 it should be plenty fast enough. (I've guesstimated, I'm still not to deep into the math of pics.)
 
hotrodhed120 said:
I think 20 readings and outputs/sec would be fast enough, and I think with a 4M clock and prescaler set to 256 it should be plenty fast enough. (I've guesstimated, I'm still not to deep into the math of pics.)

Speed is rarely a problem, PIC's really run extremely quickly, and your project is only a very low speed one.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top