4180 lab4

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

Fork of WavePlayer_HelloWorld by jim hamblen

Committer:
ihansw
Date:
Thu Nov 03 18:35:08 2016 +0000
Revision:
2:82f454fd6efa
4180 lab 4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ihansw 2:82f454fd6efa 1 #ifndef GLOBAL_H
ihansw 2:82f454fd6efa 2 #define GLOBAL_H
ihansw 2:82f454fd6efa 3
ihansw 2:82f454fd6efa 4 #ifndef ULCD_4DGL_H_
ihansw 2:82f454fd6efa 5 #define ULCD_4DGL_H_
ihansw 2:82f454fd6efa 6 #include "uLCD_4DGL.h"
ihansw 2:82f454fd6efa 7 #endif
ihansw 2:82f454fd6efa 8
ihansw 2:82f454fd6efa 9 // === [global object] ===
ihansw 2:82f454fd6efa 10 extern uLCD_4DGL uLCD;
ihansw 2:82f454fd6efa 11
ihansw 2:82f454fd6efa 12
ihansw 2:82f454fd6efa 13 // === [global settings] ===
ihansw 2:82f454fd6efa 14 #define BACKGROUND_COLOR 0x000000
ihansw 2:82f454fd6efa 15 #define YELLOW 0xFFFF00
ihansw 2:82f454fd6efa 16 #define GRID_RADIUS 3
ihansw 2:82f454fd6efa 17 #define GRID_SIZE 7 //(GRID_RADIUS*2+1)
ihansw 2:82f454fd6efa 18 #define NUM_GRID_X 17
ihansw 2:82f454fd6efa 19 #define NUM_GRID_Y 16
ihansw 2:82f454fd6efa 20 #define NUM_GRID 272 //(NUM_GRID_X*NUM_GRID_Y)
ihansw 2:82f454fd6efa 21
ihansw 2:82f454fd6efa 22
ihansw 2:82f454fd6efa 23
ihansw 2:82f454fd6efa 24 #endif //GLOBAL_H