Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
#include "D:\@Kaklik\programy\PIC_C\cidlo\piezo.h"
2
 
3
 
4
void main()
5
{
6
   port_b_pullups(false);
7
   setup_counters(RTCC_INTERNAL,WDT_18MS);
8
 
9
   while (true)
10
   {
11
      if (input(PIN_B0)) output_high(PIN_A3); else output_low(PIN_A3);
12
   }
13
}