summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/pyb.rst')
-rw-r--r--docs/library/pyb.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/library/pyb.rst b/docs/library/pyb.rst
index 79caa67d2f..f93b884ab4 100644
--- a/docs/library/pyb.rst
+++ b/docs/library/pyb.rst
@@ -149,11 +149,15 @@ Miscellaneous functions
Return True if USB is connected as a serial device, False otherwise.
+ .. note:: This function is deprecated. Use pyb.USB_VCP().isconnected() instead.
+
.. function:: hid((buttons, x, y, z))
Takes a 4-tuple (or list) and sends it to the USB host (the PC) to
signal a HID mouse-motion event.
+ .. note:: This function is deprecated. Use pyb.USB_HID().send(...) instead.
+
.. function:: info([dump_alloc_table])
Print out lots of information about the board.