Press 2 buttons

UKHeliBob:
If you have pulldown resistors in place then

if(digitalRead(Buttonup) == LOW)

{
   DebounceUp++;
 }else
  {
   DebounceUp = 0;
   ButtonUpPressed = false;
   Toggle = false;
  }



does not make sense to me as the Buttonup pin will be LOW most of the time.

Maybe I have misunderstood what you are doing.

i just used the debounc a nother have made. i dont really know all that much about it.