Programmable Timer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chmoc_1567941
Level 4
Level 4

i want to make programmable Timer with counter.

   

Timer is set by user and once it set then its start timing and simultaneously i want to count proximity switch high pulse. whenever it goes high then counter should be plus one(+1). when time will finish then counter set to zero again.

   

how can i make it ??

   

Related appnote??

   

and Structures of psoc1???

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

What you already have got is a good functional description. When you convert that to pseudo-code, yóu are nearly ready:

   
        
  • Timer is set by user
  •     
  • once it set then its start timing
  •     
  • while timing i want to count proximity switch high pulse.
  •     
  • whenever it goes high then counter should be plus one(+1).
  •     
  • when time will finish then counter set to zero again.
  •    
   

 

   

There is no app-note for your special problem.

   

 

   

Happy coding

   

Bob

0 Likes