USB Keyboard input don't work!!! Please Help


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257

    Default

    Hey I know that job and I'm applying for it too. And guess what, I have the caps lock working!!!! I think they're going to give me the job now so you might as well give up.

    Hahaha!

    Squib

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by Squibcakes View Post
    Hahaha!
    Squib
    Nope...you won't.
    You didn't say the magic words...
    Please Please Help Help Urgent! Plz! Danger Will Robinson! Danger!

  3. #3
    Join Date
    Jan 2008
    Posts
    13

    Default You are very clever, ha ha!

    I'm not born with intelect. We all need to learn to bee smart.
    I think that forum member it here to help me and others to become a beter in programing PIC. Ok, i don't need this job, i'm stupid, i give up.
    If you still want to help, thank you.

    Best regards.

  4. #4
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109

    Default

    You haven't even posted your code so how can we help you?

  5. #5
    Join Date
    Jan 2008
    Posts
    13

    Default Ok

    This is code for keyboard emulation(some keys) and kbddecs. It's work fine(sending ).
    Attached Files Attached Files
    Last edited by faaktoo; - 5th June 2008 at 15:10. Reason: I forgat files

  6. #6
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by faaktoo View Post
    This is code for keyboard emulation(some keys) and kbddecs. It's work fine(sending ).
    Where's the part that receive the commands for the LEDs on the keyboard?

  7. #7
    Join Date
    Jan 2008
    Posts
    13

    Default Somthing like this?

    Dousbin:
    USBBufferCount = USBBufferSizeRX ' RX buffer size
    USBService ' keep connection alive
    USBIn 1, USBBuffer, USBBufferCount, Dousbin ' read data, if available

    If USBBuffer[?] = ? then
    PORTA = %00000001
    else
    PORTA = %00000000
    endif
    return
    I'm tried If USBBuffer > 0 then


    PS
    Are "KBDDESCMOJA" OK?

  8. #8
    Join Date
    Jan 2008
    Posts
    13

    Default Somthing like this?

    Dousbin:
    USBBufferCount = USBBufferSizeRX ' RX buffer size
    USBService ' keep connection alive
    USBIn 1, USBBuffer, USBBufferCount, Dousbin ' read data, if available

    If USBBuffer[?] = ? then
    PORTA = %00000010
    else
    PORTA = %00000000
    endif
    return

    I'm tried
    If USBBuffer > 0 then 'If recieve anything
    PORTA = %00000010
    endif
    but nothing hepend

    My friend it programing on VB6 and he give me a small prog for sending commands for LED's(ON-OFF).


    PS
    Are "KBDDESCMOJA" OK?

Similar Threads

  1. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  2. AT/PS2 Keybord - PIC Interface?
    By Kamikaze47 in forum Code Examples
    Replies: 73
    Last Post: - 9th August 2009, 16:10
  3. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 00:04
  4. Replies: 3
    Last Post: - 10th April 2008, 10:02
  5. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55

Members who have read this thread : 0

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