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

Changed reward (and some speakers) from port 7 to port 4 #10

Open
jgmaz opened this issue Jan 29, 2025 · 0 comments
Open

Changed reward (and some speakers) from port 7 to port 4 #10

jgmaz opened this issue Jan 29, 2025 · 0 comments

Comments

@jgmaz
Copy link

jgmaz commented Jan 29, 2025

I moved the solenoid for the reward from port 7 to port 4, alongside with the associated speakers (speakers: 0, 1,2, powerlines: 0,1). See below for updated pins.

In hardware definition file:
lickometer = Lickometer(lick_port=board.port_6, sol_port=board.port_4, rising_event_A='lick', debounce=5)

In AudioStim device:
pins = {0:'W10', # Dir0 1:'W68', # Dir1 2:'W66', # Dir2 3:'W58', # Dir3 4:'W56', # Dir4 5:'W64', # Dir5 6:'W62'} # Dir6

    '#the POW pins used so that their logic level is inverted automatically.
    powerlines = ('W23', 'W25', 'W62', 'W64','W30','W32')`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant