Skip to content

some help please #14

@mugginsjm

Description

@mugginsjm

I am trying to dynamically update a 64x8 display using an ethernet socket connection which provides a string output. I am in a total "meltdown" in relation to unsigned char.... etc
This code throws up error: invalid conversion from 'unsigned char*' to 'char*'

unsigned char TxtDemo[] = { EFFECT_HSV "\x00\xff\xff" };
String txt="my text";
strcat( TxtDemo, txt.c_str() );

ScrollingMsg.SetText((unsigned char *)TxtDemo, sizeof(TxtDemo) - 1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions