Fix GPIO map bug

… and test the pwm output (32 bits & 16 bits)