title: Invalid conversion from char to const char*
body: <p>Sorry in advance for what I feel is going to be a really simple problem, but I've been stuck on it for hours and I haven't been able to work out how to fix it based on the stuff I've found here or on google.</p>
  
  <p>I've got an arduino hooked up to a GPS and a radio and am trying to broadcast the GPS signal to my radio. What I am trying to do now is get the NMEA sentence from the GPS into the variable 'text', but am getting confused by this error, which I think is due to arrays.</p>
  
  <p>My error is occurring on this line:
  <code>sprintf(text, char(c));</code></p>
  
  <p>I've tried a few different things but this is where I'm stuck at the moment. Any help would be really appreciated.</p>
  
  <pre><code>#define RADIOPIN 13
  #include &lt;string.h&gt;
  #include &lt;util/crc16.h&gt;
  #include &lt;Adafruit_GPS.h&gt;
  #include &lt;SoftwareSerial.h&gt;
  
  SoftwareSerial mySerial(3, 2);
  
  #define GPSECHO  true
  
  Adafruit_GPS GPS(&amp;mySerial);
  
  char datastring[80];
  char text[80];
  
  void setup() {
    Serial.begin(115200);
    GPS.begin(9600);
    GPS.sendCommand(PMTK_SET_NMEA_OUTPUT_RMCGGA);
    GPS.sendCommand(PMTK_SET_NMEA_UPDATE_5HZ);
    delay(3000);  
    pinMode(RADIOPIN,OUTPUT);
  }
  
  void loop(){
    gpscheck();
  }
  
  void gpscheck(){
      char c = GPS.read();
      if (c) {
  //      Serial.print(c); 
      sprintf(text, char*(c));
      Serial.print(text);
      }
  }
  </code></pre>