The code below is adapted from the A/V fan controller project, which has an LED connected to output 2 of the PICAXE as a power/activity indicator. What's going on if the LED lights up very briefly once a second? Top: high 2 'indicate a read is in progress (takes about one second) ReadTemp 1, Temp_8 'read the high 8 bits from the DS18B20 on input 1 low 2 pause 1000 'wait one second goto Top |
Home Page | Projects Page |
Copyright © 2006 John E. Carter
Last update . |