Skip to content

Commit 880961a

Browse files
initial repo load
1 parent 3dd9218 commit 880961a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/AD9833_ADSR_FeatherWing_sweep_v03.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
digi_pot = cedargrove_ad5245.AD5245(address=0x2C)
2020
digi_pot.shutdown() # mute the output before instantiating wave_gen
2121
digi_pot_connected = True
22-
except:
22+
except RuntimeError as e:
2323
print("AD5245 digital potentiometer not connected.")
2424
digi_pot_connected = False
2525

0 commit comments

Comments
 (0)