iv been fighting this for a while,im using a mcb2300 board. i cant make the blinky example work. i dnt have a board at home so i have to simulate it. i would like to be able to just print some analouge inputs onto it and also a timer has to b involved in this progam some where. my understanding of this is very limited. any help would go down a treat right now.
That is fundamental. If you can't even get that to work, then there's no point trying to move on to anything else.
iv got it working now, however i have a new issue, i dont know how to get it to print a variable.
If you have managed to get the LCD to display strings, then it should be obvious how you get it to display the contents of a variable. How would you display a variable in a command-line program?
printf("%d",x);
thats only way i know how, im guessing there's a little more to it than that.
Note that printf() sends the text to "standard out".
You can - if you want - map this magical "standard out" to the display.
Or you can instead consider using sprintf() to print to a string, and then send that string to the display.
Note that it is possible for you to create functions (if the project doesn't already have something similar) like:
int lcd_printf(const char* fmt,...); int lcd_printf_at(int row,int col,const char* fmt,...);