Jump to content
43oh

FreakBeeny

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hello there, I am currently trying to write a custom firmware for an existing board I have. The I2C pin are connected to pins 3/4 of the cc3200, but in the standard case on the Launchpad is PIN 1/2 which won't work for me. So I stepped into the Wire.c and changed the begin() part: void TwoWire::begin(void) { MAP_PRCMPeripheralClkEnable(PRCM_I2CA0, PRCM_RUN_MODE_CLK); MAP_PinModeSet(PIN_01, PIN_MODE_0); MAP_PinModeSet(PIN_02, PIN_MODE_0); //MAP_PinTypeI2C(PIN_01, PIN_MODE_1); //MAP_PinTypeI2C(PIN_02, PIN_MODE_1); MAP_PinTypeI2C(PIN_03, PIN_MODE_5)
×
×
  • Create New...