This is how i got the hardware to work. Not saying that it cant work any other way. I haven't tied anything of yours in. So likely delete mine from rev 2 or 3, and then put this instead. Then it might work.

Dependencies:   mbed

Download repository: zip gz

Files at revision 0:c426396d5fdf

Name Size Actions
[up]
main.cpp 7165 Revisions Annotate
mbed.bld 66 Revisions Annotate
rgb_led.cpp 1597 Revisions Annotate
rgb_led.h 1037 Revisions Annotate