4180 lab4

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

Fork of WavePlayer_HelloWorld by jim hamblen

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers globals.h Source File

globals.h

00001 #ifndef GLOBAL_H
00002 #define GLOBAL_H
00003 
00004 #ifndef ULCD_4DGL_H_
00005 #define ULCD_4DGL_H_
00006 #include "uLCD_4DGL.h"
00007 #endif
00008 
00009 // === [global object] ===
00010 extern uLCD_4DGL uLCD;
00011 
00012 
00013 // === [global settings] ===
00014 #define BACKGROUND_COLOR 0x000000
00015 #define YELLOW 0xFFFF00
00016 #define GRID_RADIUS 3
00017 #define GRID_SIZE 7     //(GRID_RADIUS*2+1)
00018 #define NUM_GRID_X 17
00019 #define NUM_GRID_Y 16
00020 #define NUM_GRID 272    //(NUM_GRID_X*NUM_GRID_Y)
00021 
00022 
00023 
00024 #endif //GLOBAL_H