Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. for(n = 0; n < NUMBER_VARS_IN_STRUCT1; n++) {
  2. int m;
  3. for(m = 0; m < NUMBER_OF_LANGUAGES; m++) {
  4. UnicodeStrCat(2, tx_data_1, struct1.var1[n][m], L"rn");
  5. SendSerialUserData(UNICODE);
  6. }
  7. for(m = 0; m < 4; m++) {
  8. sprintf(ansicode_text, "%.8frn", (double) struct1.var2[n][m]);
  9. StrAnsiToUnicode(tx_data_1, ansicode_text);
  10. SendSerialUserData(UNICODE);
  11. }
  12. for(m = 0; m < 4; m++) {
  13. sprintf(ansicode_text, "%.8frn", (double) struct1.var3[n][m]);
  14. StrAnsiToUnicode(tx_data_1, ansicode_text);
  15. SendSerialUserData(UNICODE);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement