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: checker.cpp
- Revision:
- 0:565828c508b3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/checker.cpp Fri Apr 09 15:29:30 2021 +0000
@@ -0,0 +1,17 @@
+#include "checker.h"
+#include "mbed.h"
+//#include "stm32f413h_discovery_ts.h"
+#include "stm32f413h_discovery_lcd.h"
+
+void Checker::draw_checker() {
+ //draw the coloumn by coloumn leaving 1 row less to have space for points
+ for(int i = 0;i < 10; i++) {
+ for(int i = 0;i < 9; i++) {
+ BSP_LCD_SetTextColor(LCD_COLOR_BLUE)
+ if(i%2){BSP_LCD_SetTextColor(LCD_COLOR_GREEN);}
+ BSP_LCD_FillRect(i, j, i+24, j+24);
+
+ }
+ }
+
+}
\ No newline at end of file