Raw_EEG_Plot
Last change
on this file since f323fb4 was
a9059a5,
checked in by Steve Castellotti <sc@…>, 9 years ago
|
Arduino:
- updated to permit custom setting of Throttle, Yaw, and Pitch
Android:
- Minor tweak to Configuration location
iOS:
|
-
Property mode set to
100644
|
File size:
2.7 KB
|
Rev | Line | |
---|
[dccf843] | 1 | |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | |
---|
[2aabdf3] | 5 | |
---|
[067ea71] | 6 | |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | |
---|
[dccf843] | 10 | |
---|
| 11 | |
---|
| 12 | #import "AppDelegate.h" |
---|
[66477ef] | 13 | #import "TGAccessoryManager.h" |
---|
| 14 | #import "TGAccessoryDelegate.h" |
---|
| 15 | #import "ViewController.h" |
---|
[a9059a5] | 16 | #import "CorePlot-CocoaTouch.h" |
---|
[dccf843] | 17 | |
---|
| 18 | @implementation AppDelegate |
---|
| 19 | |
---|
| 20 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
---|
| 21 | { |
---|
| 22 | |
---|
[66477ef] | 23 | [[TGAccessoryManager sharedTGAccessoryManager] setupManagerWithInterval:0.05]; |
---|
| 24 | [[TGAccessoryManager sharedTGAccessoryManager] setDelegate:(ViewController *)self.window.rootViewController]; |
---|
[dccf843] | 25 | return YES; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | - (void)applicationWillResignActive:(UIApplication *)application |
---|
| 29 | { |
---|
| 30 | |
---|
| 31 | |
---|
[66477ef] | 32 | ViewController *rootController = (ViewController *)self.window.rootViewController; |
---|
| 33 | [rootController appClosed]; |
---|
[dccf843] | 34 | } |
---|
| 35 | |
---|
| 36 | - (void)applicationDidEnterBackground:(UIApplication *)application |
---|
| 37 | { |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | - (void)applicationWillEnterForeground:(UIApplication *)application |
---|
| 43 | { |
---|
| 44 | |
---|
| 45 | } |
---|
| 46 | |
---|
| 47 | - (void)applicationDidBecomeActive:(UIApplication *)application |
---|
| 48 | { |
---|
| 49 | |
---|
[66477ef] | 50 | ViewController *rootController = (ViewController *)self.window.rootViewController; |
---|
| 51 | [rootController appForegrounded]; |
---|
[dccf843] | 52 | } |
---|
| 53 | |
---|
| 54 | - (void)applicationWillTerminate:(UIApplication *)application |
---|
| 55 | { |
---|
| 56 | |
---|
[66477ef] | 57 | [[TGAccessoryManager sharedTGAccessoryManager] teardownManager]; |
---|
[dccf843] | 58 | } |
---|
| 59 | |
---|
| 60 | @end |
---|
Note: See
TracBrowser
for help on using the repository browser.