Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 7th October 2003, 06:14 AM   (permalink)
Default I need Help!~

i m facing a problem oof writing a program of using the micro processor...
i need to witer an event counter program, which need an external clock. the counter needed is from 0-19. on the 20th count, it activate the stepper motor
PLS HELP ME......
musaki is offline  
Old 7th October 2003, 07:01 AM   (permalink)
Default

Hey,

U use a external clock. But is that the clock speed for your microprocessor or for the counters?

If it are the counters then put the clock on pin(in) that is ready for interupt and you count the interupts.

If you use a external clock for the internal clock speed then look in a datasheet you get by your microprocessor and then you know the pin to put it on, and just make a loop thats counts, or in asambler or C. In C u can use a for or a while loop,

If you need more then ask but you need to make yourself more clear then :P

Cya
Camping is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 07:22 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker