Subversion Repositories svnkaklik

Rev

Rev 410 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
#include "D:\@Kaklik\programy\PIC_C\motory\menice\main.h"
2
 
3
#DEFINE     L1    pin_A0
4
#DEFINE     L2    pin_A1
5
 
6
void main()
7
{
8
   output_low(L1);
9
   output_low(L2);
10
 
11
   while(true)
12
   {
13
      output_low(L2);
14
      output_high(L1);
15
      Delay_ms(17);
16
      output_low(L1);
17
      output_high(L2);
18
      Delay_ms(17);
19
 
20
   }
21
}