 	commandBuffer[0].value = 1100;
 	commandBuffer[1].mode = MODE_RAMP;
 	commandBuffer[1].time = 4000;
-	commandBuffer[1].value = 1500;
+	commandBuffer[1].value = 2000;
 	commandBuffer[2].mode = MODE_HOLD;
 	commandBuffer[2].time = 2000;
-	commandBuffer[2].value = 1500;
+	commandBuffer[2].value = 2000;
 	commandBuffer[3].mode = MODE_HOLD;
 	commandBuffer[3].time = 1000;
 	commandBuffer[3].value = 1100;

	}
}

unsigned int nextBuffer(unsigned int index){
	// return the next index for the ring buffer
	index++;


	//format the CSV line
	sprintf(str, "%lu, %i, %.3f, %.3f, %.3f, %.3f, %.2f\n", time, commandValue, a1, a2, a3, a4, scaleValue);
	writeToBuffer(str);

}

void writeToBuffer(char* str){
	//write the CSV line to the block buffer
	size_t thisLength;
	size_t bufferLength;
