From: W. Trevor King Date: Tue, 13 Mar 2012 12:47:48 +0000 (-0400) Subject: Add serial and PWM subdevice types to `demo/python/info.py`. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe3cdd466b93ccb71df112a641c79bfb6f274a74;p=comedilib.git Add serial and PWM subdevice types to `demo/python/info.py`. This catches it up for the folowing commits to the comedi repository: commit 311e9c540217d60bdf56a1dba9eafe474fd3b218 Author: Bernd Porr Date: Sun Jan 13 23:07:02 2008 +0000 Added a proper PWM subdevice for comedi. commit 8092ed57ff38e1fcaf75a7e0bf3b8c4f5372f3d7 Author: Frank Mori Hess Date: Sat Jan 31 22:13:09 2004 +0000 serial dio (SCXI) support from Caleb Tennis --- diff --git a/demo/python/info.py b/demo/python/info.py index 15393e0..6d303d3 100755 --- a/demo/python/info.py +++ b/demo/python/info.py @@ -26,6 +26,8 @@ subdevice_types = {c.COMEDI_SUBD_UNUSED:"unused", c.COMEDI_SUBD_DO:"digital output", c.COMEDI_SUBD_DIO:"digital I/O", c.COMEDI_SUBD_COUNTER:"counter", + c.COMEDI_SUBD_SERIAL:"serial", + c.COMEDI_SUBD_PWM:"pulse width modulation", c.COMEDI_SUBD_TIMER:"timer", c.COMEDI_SUBD_MEMORY:"memory", c.COMEDI_SUBD_CALIB:"calibration",