Added module for direct control over pins
[matches/MCTX3420.git] / server / run.sh
index 9bf9cc9..d9cb343 100755 (executable)
@@ -22,6 +22,9 @@ slot=$(echo /sys/devices/bone_capemgr.*/slots | awk '{print $1}')
 # Load PWM module
 modprobe pwm_test
 (echo am33xx_pwm > $slot) 1>&2 >> /dev/null
+for port in P9_21 P9_22 P9_14 P9_16 P9_29 P9_31 P9_42 P8_13 P8_19 P8_34 P8_36 P8_45 P8_46; do
+       echo bone_pwm_$port > $slot
+done
 
 # Load ADCs
 (echo cape-bone-iio > $slot) 1>&2 >> /dev/null

UCC git Repository :: git.ucc.asn.au