You should make it word. 30*10=300 > than a byte can hold.
Also better make the multiplication outside the comparison.
Use the LCD as a monitor to check your values.
About compilation, I guess it is a syntax error thing.
Ioannis
You should make it word. 30*10=300 > than a byte can hold.
Also better make the multiplication outside the comparison.
Use the LCD as a monitor to check your values.
About compilation, I guess it is a syntax error thing.
Ioannis
Bookmarks