Skip to content

Commit d77a310

Browse files
committed
- Fixed bug in running_wheel example task where event names specified for rotary encoder did not match those in task.
1 parent 5f46860 commit d77a310

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/example/running_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# Running wheel must be plugged into port 1 of breakout board.
2020
running_wheel = Rotary_encoder(name='running_wheel', sampling_rate=100, output='velocity', threshold=v.velocity_threshold,
21-
rising_event='started_running1', falling_event='stopped_running1')
21+
rising_event='started_running', falling_event='stopped_running')
2222

2323
solenoid = Digital_output(board.port_2.POW_A) # Reward delivery solenoid.
2424

0 commit comments

Comments
 (0)