Jump to content

Tone

EstablishedMember
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tone

  • Rank
    Newbrie
  1. Thanks for the help Dave, Since it wasn't a code error I updated the compiler to version 6.33 and now it works Tone
  2. Please supply a code fragment that demonstrates the issue. I don't see any problem. Regards Dave <{POST_SNAPBACK}> void sendString(const char * string); void sendString(const char* string) { char i; for (i = 0 ;i < 3; i++) { while((txsta & 1 <<TRMT) ==0); txreg = string; } } void main() { sendString ("\x0F\x1A\x04"); }
  3. Thanks for that Dave, but it still won't work. sending ("\x0F\x1A\x04") recieving 5C 78 30 46 5C 78 31 41 5C 78 30 34 ie the ascii string.
  4. Sorry if this seems too simple, Ive been trying to send a string of hex characters eg. "/x0F/x1A/x04" but having no luck. If I convert to decimal eg" /15/26/4" all works but can't send hex!
×
×
  • Create New...