help with serial.read

i was working on new code when i read ur post. hope this helps
thanks

#include "MotorMaster.h"

MotorMaster myMotorMaster = MotorMaster();

void setup()
{
myMotorMaster.begin(BUSA);
Serial.begin(9600);

}

void loop()
{
while(Serial.available() == 8);

int R = Serial.read();
int L = Serial.read();

myMotorMaster.drive(COILA, R);
myMotorMaster.drive(COILB, L);
Serial.flush
}