// Like it says, prints help text.
void printHelp(void) {
Serial.println();
Serial.println(" The list of commands available.");
Serial.println(" ----------------------------------------------------------------------");
Serial.println("list - Gives a list of the connected devices on the network.");
Serial.println("fuel followed by a number 0..100 - sets the percentage of fuel to be broadcast.");
Serial.println("seeName,showName or just name - This will display our device name.");
Serial.println("seeValues, showValues or just values - Shows the broadcast information we can read");
Serial.println("Hg - Shows the current broadcast barometer reading in inHg.");
Serial.println("Mb - Shows the current broadcast barometer reading in mb.");
Serial.println("findName folowed by a network address - If found, this returns the name of the item at that address.");
Serial.println("copyName folowed by a network address - If found, copies the name of the item at that address.");
Serial.println("pasteName or paste - Changes our name to the last one we copied.");
Serial.println("changeAddr folowed by one value - Changes our address to that value.");
Serial.println("changeAddr folowed by two values - tells the device at the first address to chnage to the second value.");
Serial.println("bugs - Toggle whatever bug tracking messages currently in there on or off.");
Serial.println("reset - This resets your name and address to what it was when the program started.");
Serial.println("help, or ? - Well that's this. The command list.");
Serial.println(" ----------------------------------------------------------------------");
Serial.println();
}
void setup() {
Serial.begin(9600);
printHelp();
}
void loop() {
}