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.
Revision 8:6e362b7be26b, committed 2019-06-13
- 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 |
--- 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
--- 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