Hi,
pins/pwm module expose a object but if you create multiple instances of it they all share the same channel.
Maybe it could receive a optional channel option in constructor together with 'pin'.
Or maybe it could keep track of available channels in an varaible and get the next available.