Go Down

Topic: Split string (Read 1 time) previous topic - next topic


What's with the extra { and } in your code?

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10


As Majenko says, you've got some extra { and } in your code. I suspect that these are places where you intended to put 'if' statements to select which line to display on but for some reason you haven't added them.

You probably want to have something like:

Code: [Select]

if(strcmp(dataStr, "E") == 0)
    matrix.setCursor(0, 0);

I only provide help via the forum - please do not contact me for private consultancy.


Thank you! I've deleted the extra { } and added the if function and it looks pretty good 8)

Go Up