Add this to the list
Posted: 09 Sep 2012 11:57
Hi,
- Add "AND", "OR" in If - then - end if :
If a = 12 and b=3 and c<b then
.....
end if
If a < b or c >d then ....
- Print statement , no matter a is let say longint and b is float
Print "a="; a;" b=";b
It is so difficult to copy and paste along the program when testing different variables
Uart_Write text("a=")
LongintToStr(a,txt)
Uart_Write_Text(txt)
Uart_Write text(",")
Uart_Write text("b=")
FloatToString (b,txt)
Uart_Write_Text(txt)
Uart_Write(13)
Uart_Write(10)
I have to print for example : aileron,elevator,roll,throttle, gear, Aux1,Aux2 and see all this RC channels in the same time but the way it is now is time consuming to write down and will occupies half of a page.
However what is really bothering my is that I can see only 7 digits. (for example i need to see GPS_LAT = 43.9277654 )
Even by using ExtendedToString (which is not working for now) is displaying same number of digits as floatTo String.
Thank you,
Sergiu
- Add "AND", "OR" in If - then - end if :
If a = 12 and b=3 and c<b then
.....
end if
If a < b or c >d then ....
- Print statement , no matter a is let say longint and b is float
Print "a="; a;" b=";b
It is so difficult to copy and paste along the program when testing different variables
Uart_Write text("a=")
LongintToStr(a,txt)
Uart_Write_Text(txt)
Uart_Write text(",")
Uart_Write text("b=")
FloatToString (b,txt)
Uart_Write_Text(txt)
Uart_Write(13)
Uart_Write(10)
I have to print for example : aileron,elevator,roll,throttle, gear, Aux1,Aux2 and see all this RC channels in the same time but the way it is now is time consuming to write down and will occupies half of a page.
However what is really bothering my is that I can see only 7 digits. (for example i need to see GPS_LAT = 43.9277654 )
Even by using ExtendedToString (which is not working for now) is displaying same number of digits as floatTo String.
Thank you,
Sergiu