/*
--------------------------------------------
-------- Begin Initialise Variables --------
--------------------------------------------
*/
/*
--------------------------------------------
-------- End Initialise Variables ----------
--------------------------------------------
*/
/*
----------------------------------
-------- Begin Setup Loop --------
----------------------------------
*/
void setup()
{
// initialize serial communication at 115200 bits per second.
}
/*
-------------------------------
------- End Setup Loop --------
-------------------------------
*/
/*
----------------------------------
-------- Begin Main Loop ---------
----------------------------------
*/
void loop()
{
// delay in between reads for stability
delay(1);
}
/*
----------------------------------
--------- End Main Loop ----------
----------------------------------
*/
/*
-----------------------------------------------------------------------------
--------- Declare User Defined Functions to be called by Main Loop ----------
-----------------------------------------------------------------------------
*/
//User defined function to print values to serial
void printValues()
{
Serial.print("Time Passed: ");
Serial.print(timePassed);
Serial.println("s");
Serial.print(rpmVal);
Serial.println(" RPM");
Serial.println(motorDemand);
}
void initialise_LDR()
{
}
/*
---------------------------------------------------------------------------------
--------- End Declare User Defined Functions to be called by Main Loop ----------
---------------------------------------------------------------------------------
*/