Help with too few arguments error

I am trying to debug this program, it runs correctly in unoardusim but it gives an error of “too few arguments to function ‘void digitalWrite(uint8_t, uint8_t)’” and i cant figure out what its looking for. can someone help me out? (the code line with the error is colored red)

Thanks!

code…

float pressLength_milliSeconds = 0;
//short button tap
int optionOne_milliSeconds = 100;
int optionTwo_milliSeconds = 2000;
int buttonPin = 2;
int ledPin_Option_1 = 13;
int ledPin_Option_2 = 12;
int ledPin_Option_3 = 11;

void setup(){
//When pin 2 has ground voltage applied it is being pressed (also to ensure the button pin is not floating)
pinMode(buttonPin, INPUT_PULLUP);
pinMode(ledPin_Option_1, OUTPUT);
pinMode(ledPin_Option_2, OUTPUT);
//debugging purposes only
Serial.begin(9600);
}

//The Main Loop
void loop() {
while (digitalRead(buttonPin) == LOW){
delay(100);
pressLength_milliSeconds = pressLength_milliSeconds + 100;
Serial.println(pressLength_milliSeconds);
}
//button held for the longest amount of time
if (pressLength_milliSeconds >= optionTwo_milliSeconds){
while (digitalWrite(ledPin_Option_2) == LOW) {
digitalWrite(ledPin_Option_3, HIGH);
delay (500);
digitalWrite(ledPin_Option_3, LOW);
delay (500);
digitalWrite(ledPin_Option_3, HIGH);
delay (500);
digitalWrite(ledPin_Option_3, LOW);
}
digitalWrite(ledPin_Option_2, HIGH);
delay (1000);
digitalWrite(ledPin_Option_2, LOW);

}

else if(pressLength_milliSeconds >= optionOne_milliSeconds){
digitalWrite(ledPin_Option_1, LOW);
delay (1000);
digitalWrite(ledPin_Option_2, LOW);
delay (1000);
digitalWrite(ledPin_Option_1, HIGH);
delay (1000);
digitalWrite(ledPin_Option_2, HIGH);
}

//reset the pressLength_Seconds counter
pressLength_milliSeconds = 0;
}

Error…

C:\Users******\Documents\Arduino\sketch_sep17a\sketch_sep17a.ino: In function ‘void loop()’:

sketch_sep17a:28: error: too few arguments to function ‘void digitalWrite(uint8_t, uint8_t)’

while (digitalWrite(ledPin_Option_2)== LOW) {

^

In file included from sketch\sketch_sep17a.ino.cpp:1:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:134:6: note: declared here

void digitalWrite(uint8_t, uint8_t);

^

exit status 1
too few arguments to function ‘void digitalWrite(uint8_t, uint8_t)’

while (digitalWrite(ledPin_Option_2) == LOW)

Did you mean digitalRead?

Please remember to use code tags when posting code.

it runs correctly in unoardusim

Another one for the trashcan

It is not a good idea to use float variables for millisecond quantities. Use unsigned long integers instead.