// declare MeetAndroid so that you can call functions with it
MeetAndroid meetAndroid;
Servo myservo;
int pos = 0;
void setup()
{
// use the baud rate your bluetooth module is configured to
// not all baud rates are working well, i.e. ATMEGA168 works best with 57600
Serial.begin(9600);
}
void loop()
{
meetAndroid.receive(); // you need to keep this in your loop() to receive events
}
void Viewup(byte flag, byte numOfValues)
{
UpDrive();
}