I have an array of uint8_t's. It has to be that way I believe because it will hold a lot of binary data. I do, however, want to put a word in the front part of it. I'm trying to do the following:
uint8_t my_list; my_list = "W"; my_list = "O"; my_list = "R"; my_list = "D";
That doesn't work as I get the warning: assignment makes integer from pointer without a cast.
Well, I try doing a cast like this:
my_list = (uint8_t)"W";
And I get this error: cast from pointer to integer of different size.
Obviously I'm doing something wrong but googling hasn't gotten me too far on either error message. Any tips?