Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: FlightSimInteger

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Location
    Randers, Denmark
    Posts
    6

    Question FlightSimInteger

    Hi,

    I recently got a Teensy 3.1 and followed the guide

    https://www.pjrc.com/teensy/td_flightsim.html

    to set it up to use Flight Sim Controls. Everything worked just great. However, now I have reinstalled the operating system (Mac OS X Mavericks) on my developer machine, and things are no longer working. I followed the exact same guide, but when I try to verify BlinkTransponder in the Arduino IDE, I get the following error messages:

    BlinkTransponder:2: error: 'FlightSimInteger' does not name a type
    BlinkTransponder.pde: In function 'void setup()':
    BlinkTransponder:6: error: 'transponderLight' was not declared in this scope
    BlinkTransponder:6: error: 'XPlaneRef' was not declared in this scope
    BlinkTransponder.pde: In function 'void loop()':
    BlinkTransponder:13: error: 'FlightSim' was not declared in this scope

    Any clue what I am missing here?

    Thanks,
    Michael Knudsen

  2. #2
    Junior Member
    Join Date
    Feb 2014
    Location
    Randers, Denmark
    Posts
    6
    I have still not been able to solve the problem. It seems that some files with definitions of different types need to be imported. Does anybody know where FlightSimInteger is defined?
    Last edited by micknudsen; 03-06-2014 at 03:05 PM. Reason: Typo

  3. #3
    Junior Member
    Join Date
    Oct 2014
    Posts
    1

    Solution for me / same first problem :-)

    Hi, from the Tools Menu / USB type ...Ive selected Flight Sim Controls instead of serial. Then hit again compile...etc: worked.
    So by selecting this USB method the type seemed to become available.
    Stephan
    ps where can i find a good C primer so that I somewhat know what Im doing with my Teensy??

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •