Hi Josh,
I am trying to figure out a way to count how many of portIn event given a set time window, and based on that number, determine different outcome actions. For instance, something like lick more and get more reward, lick less and less reward.
I found something called SetGlobalCounter, however, it seems it cannot give you the number of event counts within a window, it can only tell you if if reached at certain threshold. Wondering if there is any other way to do this?
Thank you so much!
Best,
Miaomiao