diff options
Diffstat (limited to 'docs/wipy/quickref.rst')
-rw-r--r-- | docs/wipy/quickref.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst index da895d7b30..fe6b053b73 100644 --- a/docs/wipy/quickref.rst +++ b/docs/wipy/quickref.rst @@ -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) |