Subversion Repositories svnkaklik

Rev

Details | 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_high(L1);
14
      output_low(L2);
15
      Delay_ms(16);
16
      output_low(L1);
17
      output_high(L2);
18
      Delay_ms(16);
19
 
20
   }
21
}