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: mbed
Fork of el17dg by
main.h
00001 #ifndef MAIN_H 00002 #define MAIN_H 00003 00004 #include "mbed.h" 00005 #include "N5110.h" 00006 #include "Gamepad.h" 00007 00008 /** 00009 * Global variable readings from the gamepad are shared for all the files to use. 00010 */ 00011 extern N5110 lcd; 00012 extern Gamepad gamepad; 00013 extern AnalogIn pot; 00014 extern AnalogIn x_dir; 00015 extern AnalogIn y_dir; 00016 00017 static const int fps = 10; 00018 00019 #define DG_PRINT_ENABLED 0 00020 00021 #if DG_PRINT_ENABLED 00022 #define DG_PRINTF(...) printf(__VA_ARGS__) 00023 #else 00024 #define DG_PRINTF(...) 00025 #endif 00026 00027 00028 00029 #endif
Generated on Thu Jul 14 2022 14:15:02 by
1.7.2
