SHARE
TWEET

Untitled

a guest Feb 14th, 2020 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. an_display_senden("page1.B40GRAD.bco=63488");
  3.  
  4. }
  5.  
  6. void an_display_senden(char *output)
  7. {
  8. for (int i = 0; i < 2; i++)
  9. {
  10. Serial1.write(output);
  11. delay(10);
  12. }
  13. }
  14. dabei soll einfach der Text "page1.B40GRAD.bco=63488"
  15. an die sub übergeben werden und 2 mal nacheinander per rs232 gesendet werden.
  16. das geht auch einwandfrei ABER ich bekomme folgende Warnungsmeldung:
  17. warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top