possibly stuck in a loop

at the top of my code… both declared globally

int btm_reed = 9; //connected to pin 9 on uno
int btm_reeding = 1;

loop im stuck in, is btm_reeding ever getting updated?

while(btm_reeding = 1)
{
myservo.writeMicroseconds(1000);
delay(500);
myservo.writeMicroseconds(1500); //1500

btm_reeding=digitalRead(btm_reed);
Serial.println(“tea ball lowering”);
}

also tried this loop(var declared globally as well), but get stuck in it as well…

do
{
myservo.writeMicroseconds(1000);
delay(500);
myservo.writeMicroseconds(1500); //1500

btm_reeding=digitalRead(btm_reed);
Serial.println(“tea ball lowering”);
}while(btm_reeding = HIGH);

are the var (btm_reeding) and (top_reeding) dying at the end bracket? i did declare them globally.

if you're testing to see if two things are equal, rather than assigning a variable a value, you use == rather than =

"We all prisoners, chickee-baby. We all locked in."

Code tags please!

 while(btm_reeding = 1)

should be

 while(btm_reeding == 1)

that was my problem, thank you. i hate having little errors like that hold me up