Newbie question here. I cant seem to make my LCD display for the arduino update the Pitch, Heading and Yaw values at all. The display simply shows "0.00"
Here is my code. Please bear in mind that im very new to Arduino and C in general. I have experience with C# and VB so im still getting my head around a code change.
void loop()
{
input();
output();
lcd.clear();
lcd.setCursor(0,2);
lcd.print(VData.Pitch); //PITCH
lcd.setCursor(0,0);
lcd.print("PITCH");
lcd.setCursor(6,2);
lcd.print(VData.Heading);
lcd.setCursor(6,0);
lcd.print("YAW"); //YAW
lcd.setCursor(12,2);
lcd.print(VData.Roll);
lcd.setCursor(12,0);
lcd.print("ROLL"); //ROLL
delay(500);
}
Further Info:
running KSP 1.0.5 (issue?), all stock, except plugin.
Windows 7.
Arduino Mega.
Demo example from tutorial, wish LCD libraries imported and configured.