Rev 32 | Rev 51 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 32 | Rev 37 | ||
---|---|---|---|
Line 65... | Line 65... | ||
65 | // i.e. 4.88mV/Count |
65 | // i.e. 4.88mV/Count |
Line 66... | Line 66... | ||
66 | 66 | ||
67 | // set PortC 0,1,2,3 as input |
67 | // set PortC 0,1,2,3 as input |
68 | DDRC &= ~((1<<DDC3)|(1<<DDC2)|(1<<DDC1)|(1<<DDC0)); |
68 | DDRC &= ~((1<<DDC3)|(1<<DDC2)|(1<<DDC1)|(1<<DDC0)); |
69 | // set PortC 0,1,2,3 as tri state |
69 | // set PortC 0,1,2,3 as tri state |
Line 70... | Line 70... | ||
70 | PORTC &= ~((1<<PORTC3)|(1<<PORTC2)|(1<<PORTC1)|(1<<PORTC0)); |
70 | PORTC &= ~((1<<PORTC3)|(1<<PORTC2)|(1<<PORTC1)|(1<<PORTC0)); |
71 | 71 | ||
72 | // port PD5 and PD6 control the current direction of the test coils of the sensors |
72 | // port PD5 and PD6 control the current direction of the test coils of the sensors |