Hi, Thanks all for comments so far. Changes in v2: - remove '-n' option to specify device by number - fix freeing resources on all return paths - add pwm_get command Cheers Marc