![]() ![]() I don't have any idea of what happening.Ĭode: 0(nothing during 200 msec)the STR value should be '0'+CHR131(nothing during 200 msec)the STR value should be '1'+CHR132etc.What I want to do exactly is to have into my delphi program a variable of type Integer with the content of the ultimate result sended by the arduino, without using the TMemo, because it will keep all these datas into the RAM of the computer and saturate it. Now, each 200 msec, I have this value for STR:0123(nothing during 200 msec)45678(nothing during 200 msec)910111213(nothing during 200 msec)1415(nothing during 200 msec)etc.I don't understand what happen because with this example, it's looks to work well but with my arduino, I have the same problems (I used it with a Win 7 64 Bits and and XP 32 Bits and I get the same bad issues.)I'm thinking this is the arduino I use because this is an unofficial. ![]() What's the difference? I don't understand this very.But i don't think the problem is here.I proved at 56000 K too and I got the same problem.I receive one variable with 12345, an other of 67891011.What i want is receive 1, next time 2, next 3 etc etc etc.What I want exactly is for example all the 500 Msec, the arduino send an integer number to my serial port, and be able to read it coorectly wity my delphi application. ![]() Hi.Thanks for your answer.In delphi, to make an increment of 1 we can write that:numero:= numero + 1 With arduino (or C), this is it: numero=numero But numero = numero + 1 works too. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |