1 2 3 4 5 6 7 8
%module jsupm_stepmotor %include "../upm.i" %{ #include "stepmotor.h" %} %include "stepmotor.h"