FED3 library update v1.12.0

54 views
Skip to first unread message

FEDforum

unread,
Mar 12, 2022, 1:18:24 PM3/12/22
to FEDforum
Hi all!  I just pushed a new library update to the Arduino Library Manager, version 1.12.0!

Untitled.png

It has four new features and one bug fix:
  • Added "fed3.currentMinute" variable to return the current minute from the RTC for use in behavioral scripts. This can be used like the fed3.currentHour variable.
  • Added new function "fed3.pulseGenerator(pulse_width, frequency, repetitions) for more advanced pulse train output than the prior fed3.BNC function.  You can now change both the frequency and pulse width for optogenetic stim.
  • Added new example program "Optogenetic_Self_Stim" to demo how to use the new pulseGenerator function.
  • Added new "Random Ratio" example program to demo how to use the Arduino random function within FED3 scripts to randomize things. Tested by Claire Foldi, thanks!

Bug fix:
  • FED3 no longer logs anything in the "Motor_Turns" column on Poke events. Thanks Hamid Taghipour!


Reply all
Reply to author
Forward
0 new messages