Jacob Smith / Mbed 2 deprecated Flip_Tile

Dependencies:   4DGL-uLCD-SE PinDetect SDFileSystem mbed-rtos mbed wave_player

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers cursor.h Source File

cursor.h

00001 #ifndef _CURSOR_H_
00002 #define _CURSOR_H_
00003 
00004 #ifndef TILE_OFF
00005     #define TILE_OFF 0xFF0000
00006 #endif
00007 #ifndef TILE_ON
00008     #define TILE_ON  0x00FF00
00009 #endif
00010 
00011 #include "uLCD_4DGL.h"
00012 
00013 
00014 class Cursor
00015 {
00016 public:
00017     // constructors
00018     //Cursor (uLCD_4DGL *);
00019     Cursor(PinName, PinName, PinName);
00020     
00021     //circles
00022     void drawCircle(int, int); //position, color
00023     void circle0(int);
00024     void circle1(int);
00025     void circle2(int);
00026     void circle3(int);
00027     void circle4(int);
00028     void circle5(int);
00029     void circle6(int);
00030     void circle7(int);
00031     void circle8(int);
00032     void circle9(int);
00033     void circle10(int);
00034     void circle11(int);
00035     void circle12(int);
00036     void circle13(int);
00037     void circle14(int);
00038     void circle15(int);
00039     
00040     bool number_of_circles; //true for 9(3x3), false for 16(4x4)
00041 
00042 private:
00043     uLCD_4DGL *LCD_ptr;
00044 };
00045 #endif