It's nucleo f4 DMA trandfer for ov7670&ILI9341.
Dependencies: mbed ILI9341_SPI OV7670_SCCB
Diff: main.cpp
- Revision:
- 3:901230f7d62b
- Parent:
- 2:de327fb4e2c5
- Child:
- 4:ba22760d537d
diff -r de327fb4e2c5 -r 901230f7d62b main.cpp --- a/main.cpp Mon Apr 04 02:51:20 2016 +0000 +++ b/main.cpp Wed Apr 27 13:19:11 2016 +0000 @@ -17,7 +17,7 @@ +3V3-330Ω-RESET ********74HC00********* -A1 VCC - +5V +A1 VCC - +3V3 B1 B4 -- PCLK Y1 A4 -- PCLK A2 Y4 - B3 @@ -27,7 +27,7 @@ ********ILI9341********* SDO - PA6 -LED - 100Ω - +5V +LED - 10kΩ - +3V3 SCK - PA5 SDI - PA7 DC - PA_4 @@ -191,7 +191,7 @@ fillrect(0,0,150,290,0xf800);//red -wait(1); +wait(3); wr_cmd(0x2C); spi.write(0x66); spi_Init();