Test program for I2C several pin assignment

Dependencies:   TextLCD mbed

I2C SDA and SCL pin assignments are very flexible on nRF51.
The nRF51822 has a capability to assign PIN every where using PSELSDA and PSELSCL registers.
mbed library can support this flexibility and you can define your own pins!!
I have NOT tested other functions, UART, SPI, PWM and others but I'm sure that we can use same manner in nRF51822 chip.
/media/uploads/kenjiArai/i2c_lcd.jpg

Revisions of main.cpp

Revision Date Message Actions
0:da7659112ca0 2016-05-02 Test program for I2C several pin assignment File  Diff  Annotate