cc3200: Add alternate functions list to Pin object.

Also remove pin.high() and pin.low() methods.
This commit is contained in:
Daniel Campora
2015-09-04 14:36:52 +02:00
parent d5e256486e
commit 36821d095a
13 changed files with 167 additions and 146 deletions

View File

@@ -29,8 +29,8 @@ See :ref:`pyb.Pin <pyb.Pin>`. ::
# initialize GP2 in gpio mode (af=0) and make it an output
p_out = Pin('GP2', mode=Pin.OUT)
p_out.high()
p_out.low()
p_out.value(1)
p_out.value(0)
p_out.toggle()
p_out(True)