Have a look into Third example of thistutorial. You can configure as many pins you want to any of the edges.
It depends is the counters are separate or combined. If counters are separate you can reuse same code to increment them, but if they are shared (like all them increase same variable) then you have to perform some locking on the variable to prevent data corruption.
If you still have problems message me so I will try to put down some example for you
udicomMember Since 16 Mar 2011
Offline Last Active Dec 07 2011 10:15 PM
- Group Members
- Active Posts 2
- Profile Views 4130
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
udicom hasn't added any friends yet.