Kavya S

Kavya S

  • NA
  • 26
  • 5.6k

To execute using do while loop

Apr 10 2019 12:04 AM
Hi all, I need to read "05050505" hex data from the location "804". I need to write a do while loop in such a way that it comes out of the loop once it executes "05050505". I have declared a name called "rcv" as a string in the code. Below mentioned is the code which i have written which is not working. Please help me out with this.
 
String rcv; 
Int32 rddata = 0x05050505;
do
{
txtoffset.text = "804";
m_direction = RW.READ;
btclick();
} while (rcv != Convert.ToString(rddata, 32));