Guest User

Untitled

a guest
Feb 14th, 2020
115
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×