Subversion Repositories svnkaklik

Rev

Rev 410 | Blame | Compare with Previous | Last modification | View Log | Download

#include "D:\@Kaklik\programy\PIC_C\cidlo\piezo.h"


void main()
{
   port_b_pullups(false);
   setup_counters(RTCC_INTERNAL,WDT_18MS);

   while (true)
   {
      if (input(PIN_B0)) output_high(PIN_A3); else output_low(PIN_A3);
   }
}