Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: P Dobson

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    437

    Hi Kris, That was amazingly useful. The only...

    Hi Kris,

    That was amazingly useful. The only reason I was using Adafruit library is because I did not know any better. Now switched to _t3 and created my own font. Progress. Thank you so much for...
  2. Replies
    4
    Views
    437

    Thanks Kurt, Now need to spend a bit of time...

    Thanks Kurt,

    Now need to spend a bit of time absorbing your detailed information.
    Thanks again.
    BR Pete D.
  3. Replies
    4
    Views
    437

    ILI9341 seven segment font

    Sorry, very much a newby, I want to write 7 segment font ( 0 to 9 only) to the QVGA 2.2" display 240x320.
    I have no idea how to a) find a suitable font, b) how to call it for use in the code.

    I...
  4. Replies
    16
    Views
    2,315

    Teensy LC timer read by DMA?

    Thank you Paul.

    Moved on a bit (with your help) and have uncovered another problem. If the phasing of the two signals are pretty much in sync then the channel interrupt (ISR Ch X) occurs whilst...
  5. Replies
    16
    Views
    2,315

    Teensy LC timers.

    Since last posting I have moved on a bit. Got all 6 channels to work and print out, but do not have the knowledge to format the data into a form that can be sent via i2c. can any one help? I don't...
  6. Replies
    16
    Views
    2,315

    Well that fixed it. Thanks Manitou, your work...

    Well that fixed it.

    Thanks Manitou, your work on dual Teensys got me thinking down different routes and overnight it became obvious. I am getting multiple falling edges on the interrupt lines....
  7. Replies
    16
    Views
    2,315

    Teensy LC misbehaving.

    Thanks very much for the code worked a treat and it has moved me forward a long way. I am pretty happy with the hardware. A single 0v every where, the input comparators are supplied from the Teensy...
  8. Replies
    16
    Views
    2,315

    Teensy LC timers.

    Hi Theremingenieur,

    I am still having trouble with I2C so have put that to one side for the moment and instead I am outputting the Resolver angle as an analogWrite. Then in the other teensy 3.5...
  9. Replies
    16
    Views
    2,315

    Thank you Paul, I will have a look at the...

    Thank you Paul, I will have a look at the FreqMeasureMulti. Will also check out unsigned Integers to cope with overflow.

    I ran your code Theremingenieur, and as expected it works with the...
  10. Replies
    16
    Views
    2,315

    Thank you all for your help. I apologizes the...

    Thank you all for your help. I apologizes the most important piece of information I forgot to add is that this is driving aircraft system instruments (made by Frasca) so all the signals to and from...
  11. Replies
    16
    Views
    2,315

    Thanks for your very quick reply. The reason for...

    Thanks for your very quick reply. The reason for no attachment is that I could not see how to attach a file. But now I return to the forum the WEB layout is different so have attached the file in...
  12. Replies
    16
    Views
    2,315

    Teensy LC timers

    I have a working script for Teensy ++2 but when I change to the Teensy LC the timer register values are not recognized:
    TCCR3A = 0;
    TCCR3B = 0;
    I also want to read the timer which for Teensy...
  13. Replies
    18
    Views
    2,753

    Can DataRefs be abbreviated in any way??

    Can DataRefs be abbreviated in any way??
  14. Replies
    18
    Views
    2,753

    Thanks for the quick response Paul, So How do...

    Thanks for the quick response Paul,

    So How do I get round this problem?? I am not aware of a shorter data ref for Radio Height??
  15. Replies
    18
    Views
    2,753

    Teensy 3.5 and FlightSimFloat

    Hi Paul, Rich33, Thanks both very much for your help. Now all 7 instruments are running from a single Teensy3.5 using floats. I will post some photos of the final hardware build.

    To put the icing...
  16. Hi Paul, It seems that allowing...

    Hi Paul, It seems that allowing "FlightSim.Update()" just once is enough to start communications with X-Plane continuously. So on one program cycle I allowed "FlightSim.Update()" and then on...
  17. Hi Paul, thanks very much for your input. I...

    Hi Paul, thanks very much for your input. I looked at both Bounce and Bounce2 but decided it was better for me to look for trailing edge detection (does not appear in my test code) using the...
  18. How to stop continuous FlightSim updates. Tennsy++2

    Need a bit of help, I have written code which communicates with X-Plane11 via USB Flight Sim Controls. The problem I have is that the current code gets updates on X-Plane "heading" every program...
  19. Replies
    5
    Views
    1,892

    Thanks for your help Paul. Still struggling...

    Thanks for your help Paul.

    Still struggling with flightSimFloat (don't work) and flightSimInteger (which do work) on Teensy 3.5. maybe you are not supporting this any more??

    Have A GREAT...
  20. Replies
    5
    Views
    1,892

    Hi Ben, Thanks for getting back to me. I...

    Hi Ben,

    Thanks for getting back to me. I followed your thread all the way through to Paul's modification to Corrected typecast in "usb_flightsim.cpp" at line 222 where he amends it from Long to...
  21. Replies
    5
    Views
    1,892

    An Update. As per other Threads, if I declare the...

    An Update. As per other Threads, if I declare the Flight Sim variable as "FlightSimInteger", the whole thing works. but doesn't on Teensy 3.5 if I use "FlightSimFloat".

    So quite pleased it now...
  22. Replies
    5
    Views
    1,892

    Teensy 3.5 and X-Plane

    Hi,

    I am trying to get data from X-plane to Teensy 3.5. I started with a fairly complex project which I just could not get to work so I have slowly stripped it back to virtually nothing. This code...
  23. Replies
    0
    Views
    821

    Teensy used with X-Plane and Air Manager

    The Teensy works very well with X-Plane Data Refs. using the PJRC X-Plane Plug-in.

    I am also using Sim Innovations "Air Manager" to generate instruments for the simulator, also works well, But...
  24. Replies
    5
    Views
    1,523

    OK, I am being dumb. I tried writing directly...

    OK, I am being dumb. I tried writing directly analogWrite(22, 128); for example and that worked. So I then tried writing to the 10 PWMs all fixed values. This did not work. I began to think that the...
  25. Replies
    5
    Views
    1,523

    Thanks for your reply. I have been using...

    Thanks for your reply.

    I have been using "TeensyControl" plug-in within X-Plane 10 to verify that the simulator is outputting valid and non zero data. I can confirm that all 10 channels from the...
  26. Replies
    5
    Views
    1,523

    P.S. I mistakenly put the LED on pin 2, it should...

    P.S. I mistakenly put the LED on pin 2, it should of course be on pin 13 for the Teensy LC.
  27. Replies
    5
    Views
    1,523

    TEENSY LC PWM outputs don't all work

    I have written some code to extract the engine instrument data from X-Plane 10. The program all works on PWM pins 3,4,6,9,and 10 but I get nothing out on pins 16,17,20,22 and 23.

    I am checking the...
Results 1 to 27 of 27