Line 6... |
Line 6... |
6 |
|
6 |
|
7 |
#define LX200 PIN_E0 // Connection to the LX200 |
7 |
#define LX200 PIN_E0 // Connection to the LX200 |
8 |
|
8 |
|
9 |
void main() |
9 |
void main() |
10 |
{ |
10 |
{ |
- |
|
11 |
setup_oscillator(OSC_8MHZ|OSC_INTRC); |
11 |
|
12 |
|
12 |
setup_adc_ports(NO_ANALOGS|VSS_VDD); |
13 |
setup_adc_ports(NO_ANALOGS|VSS_VDD); |
13 |
setup_adc(ADC_CLOCK_DIV_2); |
14 |
setup_adc(ADC_CLOCK_DIV_2); |
14 |
setup_psp(PSP_DISABLED); |
15 |
setup_psp(PSP_DISABLED); |
15 |
setup_spi(SPI_SS_DISABLED); |
16 |
setup_spi(SPI_SS_DISABLED); |
16 |
setup_wdt(WDT_OFF); |
17 |
setup_wdt(WDT_OFF); |