8 years, 2 months ago.

SCL SDA pin number discrepancy

Hi RedBear team,

I was trying to work on BLE Nano to get it talk to an I2C device and wasn't successful with mbed i2c APIs. I came across this wire.cpp implementation for BLE Nano and was surprised to see following

  1. ifdef BLE_Nano
  2. define SCL 7
  3. define SDA 6
  4. endif

I was using SCL = p8 and SDA = p10 per http://redbearlab.com/blenano/ pinout. Can you please clarify which one is accurate ?

thanks, Abhijit.

Question relating to:

I2C example for BLE Nano and RedBearLab nRF51822. It demonstrates how to use I2C to communicate with AT24C512 EEPROM device. BLE Nano, RedBearLab
Be the first to answer this question.