Demo of low res colour vga video for stm32f3 discovery board

Dependencies:   STM32F3-Discovery-minimal

Fork of Space_Invaders_Demo by Martin Johnson

Revision:
1:1b37c4b989b4
Parent:
0:404dae88af71
Child:
3:93e488fbb8a2
--- a/main.c	Tue Mar 01 02:40:19 2016 +0000
+++ b/main.c	Mon May 09 22:35:58 2016 +0000
@@ -70,11 +70,20 @@
         GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
         GPIO_Init(GPIOE, &GPIO_InitStructure);
 	GPIOE->ODR = 0x000;
+	
+	    GPIO_StructInit(&GPIO_InitStructure);
+    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0;
+    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN;
+    GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_DOWN;
+    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
+    GPIO_Init(GPIOA, &GPIO_InitStructure);
+
 }
 
 int main(void)
 {
 //	GPIOE->BRR = 0x100;
+//	char *s=malloc(4);
  	RCC_Configuration();
 //	GPIOE->BSRR = 0x200;
 	GPIO_Configuration();