-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEncodeSignalFSK.h
More file actions
46 lines (26 loc) · 917 Bytes
/
EncodeSignalFSK.h
File metadata and controls
46 lines (26 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// iR Control
//
// Created by Omar & Alejandro . @osharim
// Copyright (c) 2015 Bentel Mexico. All rights reserved.
// www.bentel.mx
#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
@interface EncodeSignalFSK : NSObject{
AudioComponentInstance toneUnit;
double* dataQueue;
double* PulseToSendInSignal;
unsigned long qSteps;
unsigned long qIndex;
int status;
int interval;
}
//Protocolo a enviar
@property (strong,nonatomic) NSString *Protocol;
//KeyValue - Tecla a enviar
@property (strong,nonatomic) NSString *KeyValue;
/* Summary: Una ves configurado el protocolo y la tecla a enviar se puede enviar el codigo. */
- (void)SendDataToEmiter;
/* Summary: Obtiene el protocolo y la tecla oprimida que se require enviar. */
- (void)SetProtocol:(NSString*)protocol AndSetKeyPressed:(NSString*)keyPressed;
@end