source: orbit/iOS/Orbit/Orbit/SignalConverter.h @ de10cbc

ServoTab_Interfacepyramid
Last change on this file since de10cbc was de10cbc, checked in by Jonathon Horsman <jonathon@…>, 7 years ago

Add a test button on flight tab
Add a reset button on advanced tab
Correctly detect device volume
Add more tutorial HTML

  • Property mode set to 100644
File size: 1.0 KB
Line 
1//
2//  SignalConverter.h
3//  orbit
4//
5//  Created by Jonathon Horsman on 11/07/2013.
6//  Copyright (c) 2013 Puzzlebox Productions, LLC. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10//#import <MediaPlayer/MediaPlayer.h>
11#import <AVFoundation/AVFoundation.h>
12#import "TGAccessoryManager.h"
13#import "TGAccessoryDelegate.h"
14#import "SignalConverterDelegate.h"
15#import "AudioGenerator.h"
16
17@interface SignalConverter : NSObject <TGAccessoryDelegate> {
18    AudioGenerator *audioPlayer;
19}
20
21@property (weak) id <SignalConverterDelegate> delegate;
22@property (nonatomic) float attentionThreshold;
23@property (nonatomic) float meditationThreshold;
24@property (nonatomic) BOOL running;
25@property (nonatomic) BOOL testing;
26
27
28- (void) setValuesForAttention:(float) attention meditation:(float) meditation;
29- (BOOL) startProcessing;
30- (void) stopProcessing;
31- (void) appStopped;
32- (BOOL) isBluetoothReady;
33- (BOOL) isVolumeMax;
34- (void) setYaw:(int)y throttle:(int)t pitch:(int)p;
35- (void) playTestSound;
36- (void) stopTestSound;
37
38@end
Note: See TracBrowser for help on using the repository browser.