...

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI

Revision:
0:bd1186e6ebb2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/button.h	Sat Apr 27 16:41:11 2019 +0000
@@ -0,0 +1,17 @@
+#ifndef BUTTON_H
+#define BUTTON_H
+#include "mbed.h"
+
+class Button{
+    private:
+    uint8_t id;
+    uint16_t posx, posy, width, height;
+    uint32_t color;
+    public:
+    uint16_t ColNr;
+    Button(uint8_t id, uint16_t posx, uint16_t posy, uint16_t width, uint16_t height, uint32_t color, uint16_t ColNr);
+    void DrawButton(uint32_t color);
+    void SetCol(uint16_t ColNr);
+    };
+
+#endif