Hi Zitronen, I should give some more information... I use your great KSPserialIO, KSP 1.7.3 and arduino uno. Loading your example KSPIOdemo17 the LEDs are working and I can controll SAS und RCS via external switches. The Display is working using the arduino library examples. I have put this at the beginning of KSPIOdemo:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4);
I found this code in this forum and put it into Utilities just after void Indicators() [
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.setCursor(0,0);
lcd.print((long)VData.AP);
lcd.setCursor(0,1);
lcd.print((long)VData.PE);
}
void InitTxPackets() {
HPacket.id = 0;
CPacket.id = 101;
}
Of course, it doesnt work, just because I am only trying without knowing what I really do ;).. I think I will get a starterKit and begin learning some basics.
Chris