I’m trying to set the lcd cursor row to either 0 or 1, based on a character in an array. i.e.:
char MyArray[17] = “1xxxxxxxxxxxxxxx”;
I want to do something like this:
lcd.setCursor(0, int(MyArray[0]) );
I can’t seem to convert MyArray[0] into anything lcd.setCursor() can understand. I’ve tried declaring ints outside of the setCursor() and casting char(), byte() and more without success.