So i am working on a project where my arduino is connected to a Bluetooth board and some inline sprinkler valves. I got this off of an instructables page which i will link, and i downloaded the code off of there because i don't have the time to write it all out, plus i don't know how to nether do i have the time so if someone could take a peek at it, that would be greatly appreciated. Here is the link -> http://www.instructables.com/id/Android-Controlled-Pneumatic-Cannon-Powered-By-Ard/

Ok so i got past the begining by replacing some code with this: #include <Arduino.h> it was something else and i read that helped it, but now im getting another error.here is the code im getting an error in:#ifndef RELAY_H#define RELAY_H

/* The serial port to use for the Bluetooth connection. On the Arduino Uno, there is only one choice. Arduino Megas have the choice of Serial1 through Serial4, if you're interested. */#define s_bt_serial Serial

/* Waste energy until a Bluetooth message has been placed in to the queue. If you really wanted to be cool, you'd put the microprocessor to sleep here and have the incoming serial data interrupt wake it up. */bool bt_wait_for_msgs(){ while (!s_bt_serial.available()); return bt_check_for_msgs();}

/* Add a message to the incoming Bluetooth queue, if one is available. Returns true if a message was added. */bool bt_check_for_msgs(){ while (s_bt_serial.available()) { uint8_t msg = 0; msgq_rsp_type rsp;

/* Waste energy until a Bluetooth message has been placed in to the queue. If you really wanted to be cool, you'd put the microprocessor to sleep here and have the incoming serial data interrupt wake it up. */bool bt_wait_for_msgs();

/* Add a message to the incoming Bluetooth queue, if one is available. Returns true if a message was added. */bool bt_check_for_msgs();

/* Callbacks to be executed after the message is processed */msgq_cb_type cbs[MSGQ_LEN];} msgq_type;

/* Status indicators that can be returned from a push/pope operation */typedef enum{/* Indicates a successful operation */MSGQ_S_SUCCESS,/* Indicates there was a problem reading */MSGQ_S_READ_ERROR,/* Indicates there was a problem writing */MSGQ_S_WRITE_ERROR,/* Indicates a full queue, write ignored */MSGQ_S_FULL,// Indicates an empty queue, read ignored */MSGQ_S_EMPTY} msgq_rsp_type;

/* Pop a message off of a given queue. Status parameter indicates success or failure. If status is not MSGQ_S_SUCCESS, then the returned message is 0. */uint16_t msgq_pop(msgq_type* msgq, msgq_rsp_type* status);

/* Same as msgq_pop, but the cb parameter is populated with the callback function, which may be null */uint16_t msgq_pop_cb(msgq_type* msgq, msgq_rsp_type* status, msgq_cb_type cb);

/* Wait for a message to be added to the queue */void msgq_wait(msgq_type* msgq);