Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
#include "D:\@Kaklik\programy\PIC_C\mereni_ultraz\main.h"
#use fast_io(A)
void main()
{
setup_counters(RTCC_INTERNAL,WDT_18MS);
set_tris_A(0b11111100);
output_high(pin_A3);
mainloop:
output_high(pin_A0);
output_low(pin_A1);
delay_us(9);
output_high(pin_A1);
output_low(pin_A0);
delay_us(9);
goto mainloop;
}