-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.h
54 lines (46 loc) · 1.79 KB
/
app.h
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
45
46
47
48
49
50
51
52
53
54
/******************************************************************************************
File Name : app.h
Author&Editor Name : Kevin Tom
Professional Masters in Embedded Systems
Fall 2021, UCB.
Editor email id : [email protected]
IDE used for Coding : ccstudio IDE
Compiler : GCC
Date : 4th December 2021
Info on Code obtained from other sources: None
*******************************************************************************************/
#ifndef APP_H_
#define APP_H_
/***************************************************************************
* to detect the signal frequency
*
* Parameters: ipFrequency --> user provided input frequency
*
* Returns: void
**************************************************************************/
void detectFrequency(register uint16_t ipFrequency);
/***************************************************************************
* convert string input fed by user to its frequency
*
* Parameters: ipFrequency --> user provided input frequency
*
* Returns: void
**************************************************************************/
int convertStringToFreq(char *guitarString);
/***************************************************************************
* prints the user interface
*
* Parameters: void
*
* Returns: void
**************************************************************************/
void printUserInterface();
/***************************************************************************
* detect the current string frequency and thus achive guitar tuning
*
* Parameters: void
*
* Returns: void
**************************************************************************/
void tuneGuitarString();
#endif /* APP_H_ */