Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
#include "D:\@Kaklik\programy\PIC_C\mereni\vyskomer_drak\main.h"
#DEFINE SCLK PIN_A2
#DEFINE DOUT
#DEFINE DIN PIN_A1
#include "MS5534A.c"
void main()
{
output_high(pin_B2);
while(true)
{
while(!input(pin_B1))
{
output_high(pin_A3);
Delay_ms(50);
}
output_low(pin_A3);
Delay_ms(50);
}
}