Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 9:b7c6e7303df5
- Parent:
- 7:a069c1750fbc
- Child:
- 11:404bd8bb7fa6
diff -r 529a12812c53 -r b7c6e7303df5 main.cpp --- a/main.cpp Mon Jul 06 11:03:14 2015 +0000 +++ b/main.cpp Mon Jul 06 20:43:17 2015 +0000 @@ -102,7 +102,7 @@ HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5); //Used for ov7670 test - PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_PLLI2S; + PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_PLLI2S;//|RCC_PERIPHCLK_I2S; PeriphClkInitStruct.PLLI2S.PLLI2SN = 192; PeriphClkInitStruct.PLLI2S.PLLI2SR = 2; HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct); @@ -148,7 +148,7 @@ /* Off board leds */ DigitalOut led1(PB_15); DigitalOut led2(PB_14); -//cc3100 _cc3100(NC, NC, PE_5, PE_4, PE_6, SPI(PB_5, PB_4, PB_3));//Seeed_Arch_Max irq, nHib, cs, mosi, miso, sck + cc3100 _cc3100(NC, NC, PD_12, PD_13, PD_11, SPI(PB_5, PB_4, PB_3));//Seeed_Arch_Max irq, nHib, cs, mosi, miso, sck void initLEDs(void);