source: orbit/iOS/Orbit/Orbit/ViewController.h @ daf54d5

RawEEGRaw_EEG_PlotServoTab_Interfacepyramid
Last change on this file since daf54d5 was daf54d5, checked in by Steve Castellotti <sc@…>, 8 years ago
  • Connect button added to interface
  • Variable volume level fixed
  • Enhanced display log output
  • Property mode set to 100644
File size: 1.2 KB
Line 
1//
2//  ViewController.h
3//  Orbit
4//
5//  Created by Jonathon Horsman on 17/12/2012.
6//  Copyright (c) 2012 Puzzlebox Productions, LLC. All rights reserved.
7//
8
9#import <UIKit/UIKit.h>
10#import <AVFoundation/AVFoundation.h>
11#import "TGAccessoryManager.h"
12#import "TGAccessoryDelegate.h"
13
14@interface ViewController : UIViewController <TGAccessoryDelegate> {
15    AVAudioPlayer *audioPlayer;
16   
17}
18
19@property (nonatomic, retain) IBOutlet UITextView *log;
20@property (nonatomic, retain) IBOutlet UIProgressView *attention;
21@property (nonatomic, retain) IBOutlet UIProgressView *meditation;
22@property (nonatomic, retain) IBOutlet UIProgressView *signal;
23@property (nonatomic, retain) IBOutlet UIProgressView *power;
24@property (nonatomic, retain) IBOutlet UISlider *attentionThreshold;
25@property (nonatomic, retain) IBOutlet UISlider *meditationThreshold;
26@property (nonatomic, retain) IBOutlet UIButton *connectButton;
27@property (nonatomic, retain) IBOutlet UIButton *demoButton;
28
29- (void) appClosed;
30- (void) appForegrounded;
31- (IBAction) connectButtonPressed:(id) sender; // connect to headset and start processing
32- (IBAction) demoButtonPressed:(id) sender; // allow testing of the app without a headset
33
34@end
Note: See TracBrowser for help on using the repository browser.