Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE Physac-MBED PinDetect SDFileSystem mbed-rtos mbed
globals.h
00001 #include "mbed.h" 00002 #include "rtos.h" 00003 00004 #include "wave_player.h" 00005 #include "Speaker.h" 00006 #include "SDFileSystem.h" 00007 #include "uLCD_4DGL.h" 00008 #include "bluefruit_controller.h" 00009 #include "Nav_Switch.h" 00010 00011 extern Nav_Switch myNav; 00012 00013 // Global state flags 00014 extern volatile bool game1; 00015 extern volatile bool game2; 00016 extern volatile int menu_flag; 00017 00018 // Debug systems 00019 extern Serial pc; 00020 extern Mutex pc_mutex; 00021 #define PRINTF(...) \ 00022 pc_mutex.lock(); \ 00023 pc.printf(__VA_ARGS__); \ 00024 pc_mutex.unlock(); 00025 00026 // Display 00027 extern uLCD_4DGL uLCD; 00028 extern Mutex uLCD_mutex; 00029 00030 // Input controllers 00031 extern BluefruitController blue; 00032 //extern BusIn navSwitch; 00033 00034 // Sournd + Lighting systems 00035 extern SDFileSystem sd; 00036 extern DigitalOut myled; 00037 extern PwmOut Rgb; 00038 extern PwmOut rGb; 00039 extern PwmOut rgB; 00040 00041 extern AnalogOut DACout; 00042 //extern wave_player waver;
Generated on Fri Dec 9 2022 21:28:44 by
1.7.2