Custom PCB

03 Dec 2012

If I use a custom PCB and move some of the pins around, how do I access those pins? For example if I want to use pin 66 (P2.7/CAN_RX2/RTS1) as a digital output. It does not go to the MBED DIP pins so I can't just say P66. How do I define it? Thanks Ringo

03 Dec 2012

You can address it as P2_7. So for example: DigitalOut out(P2_7);

I wouldnt assume it can directly map the peripherals on those pins thoughs, but maybe it works, dunno.

03 Dec 2012

You can access the processor non mbed pins as P2_7, P1_20, etc. Regards Thanassis