hi malcom
a quick look says
but you haveFOR pid_Channel = 0 TO 3 ; Set # of bits in resolution
GOSUB SelectSensor ; for all sensors
GIE = 0 ; disable interrupts before 1-wire
@ DS1820_Resolution 12
GIE = 1 ; enable interrupts after 1-wire
NEXT pid_Channel
Code:PID_Channels CON 1
its not going to fly
its expecting 3 more sensors
Bookmarks