1. Ben Bass
  2. pylibftdi

Commits

Ben Bass  committed 7f3460a

doc fix

  • Participants
  • Parent commits f1b938e
  • Branches default

Comments (0)

Files changed (1)

File doc/advanced_usage.rst

View file
     >>> from pylibftdi import Device
     >>>
     >>> with Device() as dev:
-    >>>    dev.fn.ftdi_set_bitmode(1, 0x01)
+    >>>    dev.ftdi_fn.ftdi_set_bitmode(1, 0x01)
     >>>    dev.write('\x00\x01\x00')
-    >>>    dev.fn.ftdi_set_bitmode(0, 0x00)
+    >>>    dev.ftdi_fn.ftdi_set_bitmode(0, 0x00)
     >>>    dev.write('Hello World!!!')