Jump to content

happytor

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by happytor

  1. I copied some code from here about "State Change Detection". I've got a button hooked up to my arduino and I spliced in the code from that wiki. In my serial output I get: 1 off 2 off 3 off 4 off 5 off 6 off 7 This is only from a single push of the button, I believe this is called bouncing? but i'm not sure. The program works perfectly fine when its not working together with this plugin. Any ideas what may be causing this issue?
  2. Just wanted to personally thank you. I'm in high-school and I just started learning how to use arduinos with this plugin and I would have never figured out how to fix it haha. Really appreciate the help from both you and zitronen Off-topic but are you German Zitronen? Im learning German and I noticed your name was German for lemons haha
  3. Im glad that you know what was wrong, I was about to lose my mind I only understand enough arduino code to do basic I/O so I'm not sure where to put that line of code. If I add it to the first line of KSPIODemo13 tab it returns an error KSPIODemo13:61: error: expected identifier before 'unsigned' unsigned long deadtime, deadtimeOld, controlTime, controlTimeOld; ^ KSPIODemo13:61: error: invalid type in declaration before ',' token unsigned long deadtime, deadtimeOld, controlTime, controlTimeOld; ^ expected identifier before 'unsigned' Any ideas?
  4. Hey thanks for the reply. I'm on windows 10 so that might be the issue. Im trying to read old comments and see what helped other peoples builds working. I've got a Teensy 3.6 which is a HID Arduino device. I'm using the latest plugin downloaded through CKAN with the latest Arduino sketch (13 I think). When I load up a ship I get the message that its connected to my COM port on my arduino and that the IO is awake. If I turn the handshake ON my green LED lights up for a second and then turns off. If I turn handshake OFF, no LEDs light up ever. That's all I have been able to accomplish so far. Has anyone else been able to fix this problem? I just want to get some data out of the game and onto an OLED screen EDIT: MY log file: [LOG 16:01:35.342] KSPSerialIO: Version 0.18.3 [LOG 16:01:35.342] KSPSerialIO: Getting serial ports... [LOG 16:01:35.342] KSPSerialIO: Output packet size: 191/255 [LOG 16:01:35.344] KSPSerialIO: Found 2 serial ports [LOG 16:01:35.344] KSPSerialIO: trying default port COM8 [LOG 16:01:35.354] KSPSerialIO: Handshake disabled, using COM8 Sometimes it will randomly say: [LOG 16:01:57.738] KSPSerialIO: Port closed
  5. Hello I just found this plugin and I would love to use it but I am very new to arduino in general and Im not sure how to use this at all. Are there tutorials written anywhere? Thanks for making this plugin... looks very interesting edit: I cant get my arduino to do anything, I load up the plugin on KSP and the arduino and the LEDs do not light up like it said they would in the tiny tutorial. Is there any other documentation??
×
×
  • Create New...