New project - MSFS C++ USB interface


Results 1 to 40 of 170

Threaded View

  1. #30
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    Did you find this post helpful? Yes | No

    Default Re: New project - MSFS C++ USB interface

    Maybe then it is worth to try this:

    100 buttons means about 13 bytes.

    You can read that 13 bytes, store them in a temp array.

    Do whatever you want and a timer interrupt will get you back to read again the 13 bytes in about 10ms or whatever you want.

    Compare to the previous read in temp array. If there is a difference, you can jump to the appropriate sub using ON index GOTO or BRANCHL technique, for up to 127 or 1024 labels to goto.

    No pauses, no delays to the main program. An no 200 resistors and 100 capacitors along with a bunch of HC14's.

    Ioannis
    Last edited by Ioannis; - 14th January 2024 at 23:14.

Similar Threads

  1. USB interface
    By Frozen001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th December 2011, 20:37
  2. Host for USB interface?
    By Carrasco in forum Off Topic
    Replies: 4
    Last Post: - 4th August 2007, 00:59
  3. USB Interface using PIC
    By Tissy in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 22nd May 2006, 17:04
  4. USB interface from PIC16F877 to PC
    By headshouter in forum USB
    Replies: 0
    Last Post: - 26th February 2006, 05:58
  5. USB project
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th January 2005, 22:59

Members who have read this thread : 7

You do not have permission to view the list of names.

Posting Permissions

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