Wrote some code to get started on a project and in the beginning stages.
running I2C to an lcd.
right now, i’m simply trying to increment a variable and print variable every time the LED lights up.
The problem is, instead of getting the number on my lcd screen every time it’s incremented, i’m getting this weird output.
It’s incrementing and adding but no numbers, it’s giving me “||” in each cell until the lcd is full instead of the aforementioned numbers.
Here is my code:
// Blinking LED
int i = 0;
while(LED == HIGH)