Line 1... |
Line 1... |
1 |
// Lamps controller |
1 |
// Lamps controller |
2 |
#define VERSION "$Revision: 3653 $" |
2 |
#define VERSION "$Revision: 3654 $" |
3 |
|
3 |
|
4 |
|
4 |
|
5 |
#include <OneWire.h> |
5 |
#include <OneWire.h> |
6 |
#include <EEPROM.h> |
6 |
#include <EEPROM.h> |
7 |
|
7 |
|
Line 29... |
Line 29... |
29 |
|
29 |
|
30 |
void info () // Print an information string |
30 |
void info () // Print an information string |
31 |
{ |
31 |
{ |
32 |
Serial.print("Lamps Controller "); |
32 |
Serial.print("Lamps Controller "); |
33 |
Serial.println(VERSION); |
33 |
Serial.println(VERSION); |
34 |
Serial.println("Commands: abcdefghABCDEFGHiRS"); |
34 |
Serial.println("Commands: abcdefghABCDEFGHitRS"); |
35 |
Serial.println("t1=a t2=b ... t8=h"); |
35 |
Serial.println("t1=a t2=b ... t8=h"); |
36 |
Serial.println("a = OFF t1 / A = ON t1"); |
36 |
Serial.println("a = OFF t1 / A = ON t1"); |
37 |
Serial.println("i = info"); |
37 |
Serial.println("i = info"); |
- |
|
38 |
Serial.println("t = telemetry"); |
38 |
Serial.println("R = reset"); |
39 |
Serial.println("R = reset"); |
39 |
Serial.println("S = store to EEPROM"); |
40 |
Serial.println("S = store to EEPROM"); |
40 |
} |
41 |
} |
41 |
|
42 |
|
42 |
int temperature () // Read temperature from Dallas |
43 |
int temperature () // Read temperature from Dallas |