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

ServoTab_Interfacepyramid
Last change on this file since ac33039 was de10cbc, checked in by Jonathon Horsman <jonathon@…>, 8 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
RevLine 
[ab9d63b]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>
[de10cbc]10//#import <MediaPlayer/MediaPlayer.h>
[ab9d63b]11#import <AVFoundation/AVFoundation.h>
12#import "TGAccessoryManager.h"
13#import "TGAccessoryDelegate.h"
14#import "SignalConverterDelegate.h"
[ce0a7ee]15#import "AudioGenerator.h"
[ab9d63b]16
17@interface SignalConverter : NSObject <TGAccessoryDelegate> {
[ce0a7ee]18    AudioGenerator *audioPlayer;
[ab9d63b]19}
20
21@property (weak) id <SignalConverterDelegate> delegate;
22@property (nonatomic) float attentionThreshold;
23@property (nonatomic) float meditationThreshold;
24@property (nonatomic) BOOL running;
[de10cbc]25@property (nonatomic) BOOL testing;
[ab9d63b]26
27
28- (void) setValuesForAttention:(float) attention meditation:(float) meditation;
[9015b1e]29- (BOOL) startProcessing;
[ab9d63b]30- (void) stopProcessing;
[9015b1e]31- (void) appStopped;
32- (BOOL) isBluetoothReady;
33- (BOOL) isVolumeMax;
[ce0a7ee]34- (void) setYaw:(int)y throttle:(int)t pitch:(int)p;
[de10cbc]35- (void) playTestSound;
36- (void) stopTestSound;
[ab9d63b]37
38@end
Note: See TracBrowser for help on using the repository browser.