/*************************************************************************************** ThrottleX2011 A demonstration of a very basic OpenLCB throttle. Copyright (C)2011 D.E. Goodman-Wilson This file is part of ThrottleX2011. ThrottleX2011 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ThrottleX2011. If not, see . ***************************************************************************************/ #ifndef __GLOBALS_H__ #define __GLOBALS_H__ #include "Throttle.h" #include "PCD8544.h" #define DISP_MAIN 0 #define DISP_LOCO_SELECT 1 extern unsigned short global_state; extern Throttle *global_throttle; extern PCD8544 global_lcd; #endif