Jump to content

cino

Members
  • Posts

    16
  • Joined

  • Last visited

Reputation

0 Neutral

Profile Information

  • About me
    Bottle Rocketeer
  1. lcd.print(VData.Ap,2); does not work for me it shows me a value which i dont know what it is for.
  2. This are my first steps with arduino. I´m using google and this thread for answers. Its more test and try what i do. Im always looking for good code to finish my Controller.
  3. But what do you do with the switches for example Engine 1 and 2 on. Is that something for custom groups? Im now invented in work with my lcd. But my goal is the same dashboard like you adding some 7 segment Displays.
  4. Are all the switches and Leds in function or just dummys?
  5. I have another Question. I have the AP on my LCD but it shows to many digits till down to meters. I want only km. This is my Code lcd.setCursor(0, 0); lcd.print((long) VData.Alt); lcd.print(" "); lcd.setCursor(7, 0); lcd.print((long) VData.AP); lcd.setCursor(0, 1); lcd.print((long) VData.LiquidFuel); lcd.print(" "); lcd.setCursor(4, 1); lcd.print("/"); lcd.setCursor(6, 1); lcd.print((long) VData.SolidFuel); lcd.print(" "); lcd.setCursor(10, 1); lcd.print("/"); lcd.print((long) VData.Vsurf); Edit: I did it with [FONT=Verdana] lcd.print((long) VData.AP / 100);[/FONT]
  6. I must add that the rx led is flashing. Log with UNO it doesnt run [LOG 01:29:36.239] KSPSerialIO: Default Port = COM1 [LOG 01:29:36.239] KSPSerialIO: Refreshrate = 0.08 [LOG 01:29:36.240] KSPSerialIO: BaudRate = 38400 [LOG 01:29:36.240] KSPSerialIO: Handshake Delay = 2500 [LOG 01:29:36.240] KSPSerialIO: Pitch Enable = 2 [LOG 01:29:36.241] KSPSerialIO: Roll Enable = 2 [LOG 01:29:36.241] KSPSerialIO: Yaw Enable = 2 [LOG 01:29:36.242] KSPSerialIO: Translate X Enable = 2 [LOG 01:29:36.242] KSPSerialIO: Translate Y Enable = 2 [LOG 01:29:36.242] KSPSerialIO: Translate Z Enable = 2 [LOG 01:29:36.243] KSPSerialIO: Wheel Steering Enable = 2 [LOG 01:29:36.243] KSPSerialIO: Throttle Enable = 2 [LOG 01:29:36.244] KSPSerialIO: Wheel Throttle Enable = 2 [LOG 01:29:36.244] KSPSerialIO: SAS Tol = 0.1 [LOG 01:34:36.614] KSPSerialIO: Version 0.17.1 [LOG 01:34:36.614] KSPSerialIO: Getting serial ports... [LOG 01:34:36.614] KSPSerialIO: Output packet size: 179/255 [LOG 01:34:36.616] KSPSerialIO: Found 2 serial ports [LOG 01:34:36.617] KSPSerialIO: trying default port COM1 [LOG 01:34:39.240] KSPSerialIO: found KSP Display at COM1 [LOG 01:34:46.094] KSPSerialIO: Handshake received - 314 With Nano everything is ok [LOG 01:43:05.823] KSPSerialIO: Default Port = COM4 [LOG 01:43:05.824] KSPSerialIO: Refreshrate = 0.08 [LOG 01:43:05.824] KSPSerialIO: BaudRate = 38400 [LOG 01:43:05.825] KSPSerialIO: Handshake Delay = 2500 [LOG 01:43:05.825] KSPSerialIO: Pitch Enable = 2 [LOG 01:43:05.825] KSPSerialIO: Roll Enable = 2 [LOG 01:43:05.826] KSPSerialIO: Yaw Enable = 2 [LOG 01:43:05.826] KSPSerialIO: Translate X Enable = 2 [LOG 01:43:05.827] KSPSerialIO: Translate Y Enable = 2 [LOG 01:43:05.827] KSPSerialIO: Translate Z Enable = 2 [LOG 01:43:05.827] KSPSerialIO: Wheel Steering Enable = 2 [LOG 01:43:05.828] KSPSerialIO: Throttle Enable = 2 [LOG 01:43:05.828] KSPSerialIO: Wheel Throttle Enable = 2 [LOG 01:43:05.828] KSPSerialIO: SAS Tol = 0.1 [LOG 01:44:04.383] KSPSerialIO: Version 0.17.1 [LOG 01:44:04.383] KSPSerialIO: Getting serial ports... [LOG 01:44:04.383] KSPSerialIO: Output packet size: 179/255 [LOG 01:44:04.385] KSPSerialIO: Found 2 serial ports [LOG 01:44:04.386] KSPSerialIO: trying default port COM4 [LOG 01:44:07.008] KSPSerialIO: found KSP Display at COM4 [LOG 01:44:13.808] KSPSerialIO: Handshake received - 314
  7. Yes i wrote it into the file. I think it reads the config cause i must change it to use it with the nano.
  8. I have a Problem with my Uno. I upload the firmware but nothing will run. But I have several Nano´s and with them everything is ok. I gave the Uno Port No 4 and the Nano´s Port No 2. I checked the IO from the Uno with the Standard Firmata Firmware and their own Checkprogram. With this setup everything is ok. I would like to the my LCDKeypadshield but nothing happens with the Uno.
  9. How do I Change the LED Pin 5 6 7 I think it looks better when they are on and get off when fuel is empty.
×
×
  • Create New...