Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The no-stim protocols have at least air-puff on #42

Open
ananthamurthy opened this issue Jun 1, 2019 · 8 comments
Open

The no-stim protocols have at least air-puff on #42

ananthamurthy opened this issue Jun 1, 2019 · 8 comments
Assignees

Comments

@ananthamurthy
Copy link
Contributor

There were some protocols with no-stim but the air-puff is still turning on at the right time

@dilawar dilawar self-assigned this Jun 1, 2019
@dilawar
Copy link
Contributor

dilawar commented Jun 4, 2019

This may happen in PROB trials. If these were not PROBE trials then its a bug. If we don't need PUFF in no-stim in PROBE as well, then I need to change the logic.

@ananthamurthy
Copy link
Contributor Author

ananthamurthy commented Jun 4, 2019 via email

@dilawar
Copy link
Contributor

dilawar commented Jun 4, 2019

Sorry let me be clearer:

  • When trial is PROBE, then nothing happens in US.
  • Else US is played.

I understand when CS is NONE and there should NOT be any US (puff/tone) played? Is that right?

@dilawar
Copy link
Contributor

dilawar commented Jun 4, 2019

@ananthamurthy ping.

@ananthamurthy
Copy link
Contributor Author

ananthamurthy commented Jun 4, 2019 via email

@dilawar
Copy link
Contributor

dilawar commented Jun 4, 2019

I think the new commit on master should fix it. I am leaving this open, needs testing. I'll it close once you confirm that things are fine.

@dilawar
Copy link
Contributor

dilawar commented Jun 10, 2019

They are in config.h file.

/*-----------------------------------------------------------------------------
 *  PINS
 *-----------------------------------------------------------------------------*/
#define         ROTARY_ENC_A                2   // have callback
#define         ROTARY_ENC_B                3   // have callback.
#define         SHOCK_PWM_PIN               5   // PWM
#define         SHOCK_RELAY_PIN             6   
#define         SHOCK_STIM_ISOLATER_PIN     7
#define         TONE_PIN                    8
#define         LED_PIN                     9
#define         CAMERA_TTL_PIN              10
#define         PUFF_PIN                    11
#define         IMAGING_TRIGGER_PIN         13
#define         SHOCK_PAD_READOUT_PIN       A3
#define         SENSOR_PIN                  A5

@dilawar
Copy link
Contributor

dilawar commented Jul 7, 2019

Is there any update on this @ananthamurthy ? Just pinging to refresh the old tickets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants