/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/main.c/main.c |
---|
75,9 → 75,9 |
setup_wdt(WDT_1152MS|WDT_DIV_16); |
setup_spi(SPI_MASTER | SPI_MODE_0 | SPI_CLK_DIV_64); |
output_high(CSN_SPI); |
enable_interrupts(INT_TIMER1); |
enable_interrupts(INT_TIMER0); |
enable_interrupts(GLOBAL); |
// enable_interrupts(INT_TIMER1); |
// enable_interrupts(INT_TIMER0); |
// enable_interrupts(GLOBAL); |
delay_ms(100); |