Skip to content

Commit 9918df5

Browse files
committed
push pwmout
1 parent e3f7536 commit 9918df5

File tree

1 file changed

+0
-4
lines changed
  • src/adafruit_blinka/microcontroller/generic_agnostic_board

1 file changed

+0
-4
lines changed

src/adafruit_blinka/microcontroller/generic_agnostic_board/PWMOut.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ def __exit__(self, t, value, traceback):
2727
def _open(self, pin, duty=0, freq=500, variable_frequency=False):
2828
self._pin = pin
2929

30-
if variable_frequency:
31-
print("Variable Frequency is not supported, continuing without it...")
32-
3330
# set frequency
3431
self.frequency = freq
3532
# set duty
@@ -112,7 +109,6 @@ def frequency(self):
112109
def frequency(self, frequency):
113110
if not isinstance(frequency, (int, float)):
114111
raise TypeError("Invalid frequency type, should be int or float.")
115-
116112
self._frequency = frequency
117113

118114
@property

0 commit comments

Comments
 (0)