Re: i need help... thks lots
Do you not understand any of it, or just one particular part?
Most if it looks fairly straightforward.
Re: i need help... thks lots
ooops :blush: i dun understand quite alot of part... pardon for the stupidity over this area.. hehe..
like ..
for (i = 1; i <= result.Length; i++) ----> why is this statement mean ??{
serialData[i + 3] = Convert.ToByte(System.Convert.ToInt32(result[i - 1]));
}
//Calculates the 8 bit checksum
intCheck = 0;
for (i = 0; i <= result.Length + 4; i++)
{
intCheck = intCheck + serialData[i];
intCheck = intCheck & 0xFF;
}
if (intCheck > 127) -----> this means if int check greater than 127 then = int check ^0xFF right??? then wat does tis sent mean???
{
intCheck = intCheck ^ 0xFF;
}
thks for the reply.. i have no choice but to complete this as it is given by my school. but my foundation for this is not strong at all!! :confused: