1. Tino de Bruijn
  2. pyFirmata

Source

pyFirmata / pyfirmata / pyfirmata.py

The branch 'servo' does not exist.
Diff from to

File pyfirmata/pyfirmata.py

  • Ignore whitespace
         if pin.type is DIGITAL:
             if bits[2] == 'p':
                 pin.mode = PWM
+            elif bits[2] == 's':
+                pin.mode = SERVO
             elif bits[2] is not 'o':
                 pin.mode = INPUT
         else: