Skip to content

Commit

Permalink
Adding a message to exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Apr 17, 2016
1 parent 3ff372e commit ccdcf38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion greenpithumb/adc.py
Expand Up @@ -28,7 +28,7 @@ def read_pin(self, pin):
Returns:
The signal read from the ADC pin (an int between 0 and 1023).
"""
raise NotImplementedError()
raise NotImplementedError('this is not implemented')

def write_pin(self, pin, value):
"""Writes a digital value to an ADC pin.
Expand Down

0 comments on commit ccdcf38

Please sign in to comment.