Subversion Repositories svnkaklik

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
#include "D:\@Kaklik\programy\PIC_C\mereni\vyskomer_drak\main.h"
2
 
3
#DEFINE  SCLK     PIN_A2
4
#DEFINE  DOUT
5
#DEFINE  DIN      PIN_A1
6
#include "MS5534A.c"
7
void main()
8
{
9
   output_high(pin_B2);
10
   while(true)
11
   {
12
      while(!input(pin_B1))
13
      {
14
        output_high(pin_A3);
15
        Delay_ms(50);
16
      }
17
     output_low(pin_A3);
18
     Delay_ms(50);
19
   }
20
 
21
}