blabla

Dependents:   VGA

Files at this revision

API Documentation at this revision

Comitter:
yokoland95
Date:
Thu Jun 13 15:54:58 2019 +0000
Parent:
0:78fa88bb24cb
Commit message:
projet

Changed in this revision

vga640x400.c Show annotated file Show diff for this revision Revisions of this file
vga640x400.h Show annotated file Show diff for this revision Revisions of this file
diff -r 78fa88bb24cb -r 6e362b7be26b vga640x400.c
--- a/vga640x400.c	Sun Jul 03 18:13:20 2011 +0000
+++ b/vga640x400.c	Thu Jun 13 15:54:58 2019 +0000
@@ -262,3 +262,8 @@
     fl_pwm_enable(FL_ENABLE);
     fl_i2s_config_dma1(FL_OFF, FL_ON, 0, 2);
 }
+
+void clear_buffer(void){
+    for(int i=0; i < 80*25; i++)
+        text_buffer[(i)^1]=0xff;
+    }
\ No newline at end of file
diff -r 78fa88bb24cb -r 6e362b7be26b vga640x400.h
--- a/vga640x400.h	Sun Jul 03 18:13:20 2011 +0000
+++ b/vga640x400.h	Thu Jun 13 15:54:58 2019 +0000
@@ -10,5 +10,8 @@
 // after a call to init_vga()
 
 void init_vga(void);
+//static void state_after_vsync(void);
+
+void clear_buffer(void);
 
 #endif
\ No newline at end of file