Subversion Repositories svnkaklik

Rev

Rev 6 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
#include "D:\@Kaklik\programy\PIC_C\mereni\zavora\main.h"
2
 
3
 
4
void main()
5
{
6
   output_high(PIN_A3);
7
   Delay_ms(250);
8
   output_low(PIN_A3);
9
   Delay_ms(250);
10
 
11
   while(true)
12
   {
13
      if(input(PIN_A4)) output_high(PIN_A3);
14
      else output_low(PIN_A3);
15
   }
16
}