| Line 1... |
Line 1... |
| 1 |
/**** baud test for IRMRAK ****/ |
1 |
/**** baud test for IRMRAK ****/ |
| 2 |
|
2 |
|
| 3 |
#include "baud_test.h" |
3 |
#include "baud_test.h" |
| 4 |
|
4 |
|
| 5 |
#define HEATING PIN_A2 |
5 |
#define HEATING PIN_A2 |
| 6 |
|
6 |
|
| 7 |
volatile int1 flag_temp; |
7 |
volatile int1 flag_temp; |
| 8 |
volatile int8 ostun; |
8 |
volatile int8 ostun; |
| 9 |
|
9 |
|
| 10 |
#INT_RDA |
10 |
#INT_RDA |
| Line 37... |
Line 37... |
| 37 |
ostun=0; |
37 |
ostun=0; |
| 38 |
flag_temp=0; |
38 |
flag_temp=0; |
| 39 |
|
39 |
|
| 40 |
//enable_interrupts(GLOBAL); |
40 |
//enable_interrupts(GLOBAL); |
| 41 |
//enable_interrupts(INT_RDA); |
41 |
//enable_interrupts(INT_RDA); |
| 42 |
|
42 |
|
| 43 |
while(TRUE) |
43 |
while(TRUE) |
| 44 |
{ |
44 |
{ |
| 45 |
while (flag_temp) |
45 |
while (flag_temp) |
| 46 |
{ |
46 |
{ |
| 47 |
printf("\nostune\r%d",ostun); |
47 |
printf("\nostune\r%d",ostun); |