Ok I just had some of that code you gave me in wrong place, seems to be working fine now.

I noticed they really changed the USB examples in the new PBP, is it hard to convert an exsisting project to the new format or is it even worth doing.