Jump to content

kittysoman

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kittysoman

  • Rank
    Newbrie

Contact Methods

  • Website URL
    https://giupviectheogio.com/giup-viec-theo-gio.html

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi I am trying to print a rom string to the serial port, the strings are defined thus: rom char *test_txt = "\n\rMatrix Controller Test mode\n\r"; rom char *txt1 = "Connect an 80R 10W resistor across pins 11 and 19\n\r"; rom char *txt2 = "Press Enter when ready\n\r"; i use the following call: puts (test_txt); where puts() is: void puts(rom char* c) { char cc; char i; for( i = 0; cc = c[ i ]; i++ ) putc( cc ); } void putc(char c) { txsta.TXEN = 1; txreg = c; while (txsta.TRMT == 0) clear_wdt(); } But all of the strings are pri
×
×
  • Create New...