I'm trying to make a project with Arduino IDE, but I can't make it works.
I have two variables:
char* receivedbyserial;
char actualcharserial;
And I want to make this association:
if (Serial.available() > 0) {
actualcharserial = Serial.read();
*receivedbyserial = actualcharserial;
receivedbyserial++;
}
The code chrashes in the line *receivedbyserial = actualcharserial; and I don't know why...
Can you help me?
Thanks a lot!!