17 template <
class T,
int NUM_ITEMS>
36 if (top< (NUM_ITEMS-1)){
47 if(top==-1)
return -1;
A simple stack, used internally for keeping track of analog input channels as they are read.
void push(T item)
Put an item on the stack.
T pop()
Get the item on top of the stack.