Mandelbrot set generator using DISCO-F746NG.
Dependencies: BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG mbed BUTTON_GROUP
Diff: main.cpp
- Revision:
- 3:0be49559a8dc
- Parent:
- 2:6c1471e4a4b1
- Child:
- 4:45feeb548dfa
--- a/main.cpp Mon Nov 23 05:17:16 2015 +0000 +++ b/main.cpp Mon Nov 23 09:53:02 2015 +0000 @@ -76,7 +76,7 @@ mandel[1] = new MandelbrotColor1(lcd_, X0_, Y0_, NX_, NY_); mandel[2] = new MandelbrotColor2(lcd_, X0_, Y0_, NX_, NY_); - string strButton[3] = {"B & W", "Color1", "Color2"}; + const string strButton[3] = {"B & W", "Color1", "Color2"}; ButtonGroup bGroup(lcd_, ts_, 340, Y0_, 60, 40, LCD_COLOR_BLUE, backColor, 3, strButton, 0, 5, 1, Font12);