Subversion Repositories svnkaklik

Rev

Rev 410 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

#include "D:\@Kaklik\programy\PIC_C\mereni\zavora\main.h"


void main()
{
   output_high(PIN_A3);
   Delay_ms(250);
   output_low(PIN_A3);
   Delay_ms(250);
   
   while(true)
   {
      if(input(PIN_A4)) output_high(PIN_A3);
      else output_low(PIN_A3);
   }
}