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

Search:

Type: Posts; User: Charles Linquist

Search: Search took 0.00 seconds.

  1. FOUND IT! Of course it was my own error. My...

    FOUND IT! Of course it was my own error. My controller can control multiple "models", and I use different ones at different times. All the models EXCEPT the one I was using with the TEENSY had 8...
  2. Another clue: I loaded the pgm PPMReader, which...

    Another clue: I loaded the pgm PPMReader, which works slightly differently. I modified PPMReader.CPP to trigger the interrupt on negative edges. I set the maximum pulse width (sync timeout) to 5...
  3. I tried (FALLING) PulsePositionOutput...

    I tried (FALLING)

    PulsePositionOutput myOut(FALLING);
    PulsePositionInput myIn(FALLING);

    And the loopback works great. But it DOES NOT work with my receiver. When I connect my receiver to...
  4. My receivers have PPM - OR - PWM. I can select...

    My receivers have PPM - OR - PWM. I can select either on the transmitter. I'm using a FRSKY i10 (10-channel).
  5. Thank you very much! I was using (0) for...

    Thank you very much! I was using (0) for falling and (1) for rising instead of (FALLING) and (RISING). I should have looked in the library more closely.







    QUOTE=manitou;289271]Hmmm,...
  6. I used a scope and measured more carefully. It...

    I used a scope and measured more carefully. It seems that my signal has a HIGH sync, then goes low for 200uSec, then HIGH for the period -200uSec, then LOW again. So the pulse width is measured...
  7. PPM library not working with my signals.

    I'm trying to use the PPM library to read the PPM signal from my RC receiver. It works fairly well, but I need 8 channels and I can only read 4. when I feed my receiver into pin 10 of the TEENSY 3.2...
  8. Paul, I'm having trouble with the Pulse Position...

    Paul, I'm having trouble with the Pulse Position Library as well. My signal has a 7 ms HIGH sync, followed by a 500uS LOW, then a 1000-2000uSec HIGH pulse - Chan 0), then another 500uS LOW, then...
  9. Replies
    3
    Views
    315

    Thanks, that solves part of my problem.

    Thanks, that solves part of my problem.
  10. Replies
    3
    Views
    315

    PulsePosition library question

    I'm using the PulsePosition library to convert PPM signals to joystick signals and I found an example that has the line -

    Joystick.x(map(joyin.read(1),1000,2000,0,1024))

    I know that the (1)...
  11. Replies
    0
    Views
    597

    Joysticks

    I needed extra ANALOG joysticks for my project, and I tried the "extreme joystick" example

    I cut and pasted all the files in the ...\cores subdirectory, but when I compiled, I got all sorts of...
  12. Replies
    2
    Views
    645

    Thanks! That gives me something to study. I...

    Thanks! That gives me something to study. I know nothing about "joystick descriptors", that might be the answer to most of my Windows issues.
  13. Replies
    2
    Views
    645

    More Joystick questions

    I need 8 analog joystick channels + 2 digital. My application is not a standard game controller, it is an R/C model controller so I don't have "sliders" and "hats" or "wheels". I have pitch, roll,...
  14. The following doesn't compile, but I think I'm...

    The following doesn't compile, but I think I'm close. I have a real problem with understanding the flow of the program. What is blocking, what isn't.
    At any rate, I would appreciate a bit of help...
  15. Thanks. I understand all about arrays and...

    Thanks. I understand all about arrays and timersl I'm trying to make the change from Pic Basic Pro (PBP). The whole task would be trivial in PBP, but very, very few PICs have 3 serial ports, which...
  16. I'm getting closer - I found that the routine ...

    I'm getting closer - I found that the routine

    if (Serial1.available()) {
    Serial2.write(Serial1.read());
    Serial3.write(Serial1.read());
    }

    does NOT work.

    I had to change it to:
  17. AND - If I want to send the same data out of two...

    AND - If I want to send the same data out of two different ports (at different baud rates) can I simply use the structure -

    if (Serial1.available()) {
    Serial2.write(Serial1.read()); ...
  18. OK, I'm getting it. But my problem is that I...

    OK, I'm getting it. But my problem is that I can't just take in a packet and "spit it out". Some of the incoming packets will be corrupted and I need to know that. Also, the packets are...
  19. Thanks for the info! How do I set up a buffer in...

    Thanks for the info! How do I set up a buffer in Arduino? Or is one automatically created?

    In PIC Basic, you would use the structure:

    serial1buffer var byte[256] <-define buffer size and...
  20. Teensy as RS-232 converter, qualifier

    I have a demanding RS-232 application for Teensy (3.2). I am fluent with Microchip PICs but very few have 3 H/W serial ports. I thought I would try to use a TEENSY for this application and learn...
Results 1 to 20 of 20