Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Rob; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,070

    Hi, can I suggest that you start to play with...

    Hi,

    can I suggest that you start to play with USB a little first. Try looking at this thread for starters:

    http://www.picbasic.co.uk/forum/showthread.php?t=5418

    Good luck

    Rob
  2. Replies
    3
    Views
    4,113

    Hi Switch, no worries - glad you found this...

    Hi Switch,

    no worries - glad you found this useful!

    Update - I ordered my PICKit 2 on 15th and received it Saturday (17th) - great price and quick service!

    Rob
  3. Replies
    3
    Views
    4,113

    PICkit 2 Debug Express - UK only

    Everyday Practical Electronics (EPE) magazine has an offer (for all of it's UK readers) to get this kit for £9.99 incl. delivery if the order is placed through Microchip direct before 31st January...
  4. Thread: Analyzing USB Comm

    by Rob
    Replies
    13
    Views
    10,159

    Hi, are you trying to detect any keys from the...

    Hi,

    are you trying to detect any keys from the keyboard or specific ones?

    If you are trying to detect specific key presses, analyzing the USB data using comparators sounds quite tricky to me......
  5. Replies
    8
    Views
    8,885

    Hey Keymuu, glad that worked for you. The...

    Hey Keymuu,

    glad that worked for you. The stuff to read that I was going to point you to today is the post that Steve is referring to above - this will help you achieve USB enumeration correctly....
  6. Replies
    8
    Views
    8,885

    Hi, this can vary. I will reply tomorrow...

    Hi,



    this can vary. I will reply tomorrow with a good example of how to do this unless somebody else replies first but for now look up posts from Darrell Taylor regarding the USB stuff as a...
  7. Replies
    2
    Views
    3,986

    Hi, check the "Read" and "Write" commands in...

    Hi,

    check the "Read" and "Write" commands in the PBP manual

    Cheers

    Rob
  8. Replies
    15
    Views
    17,781

    Hi xnihilo, in the past I have used something...

    Hi xnihilo,

    in the past I have used something like:



    Start:

    If Trigger = Pressed then
    For CountByte = 0 to 9
  9. Thread: Pic 18f Usb

    by Rob
    Replies
    134
    Views
    99,093

    I think you're using PBP 2.47 or older so the...

    I think you're using PBP 2.47 or older so the UCFG register is not included. Try this:

    UCFG var byte EXT
    UCFG.2 = 1

    Cheers

    Rob
  10. Thread: Pic 18f Usb

    by Rob
    Replies
    134
    Views
    99,093

    Hi Lengcallrobot and welcome to the forums! ...

    Hi Lengcallrobot and welcome to the forums!

    This is taken from the EasyHID help file contained in the EasyHID folder:

    "What is a HID Device?

    ...... One of the major advantages of HID is that...
  11. Thread: Display "0" on LCD

    by Rob
    Replies
    18
    Views
    8,936

    Hi Gary, can you see the '0's preceeding the...

    Hi Gary,

    can you see the '0's preceeding the numbers you are displaying? i.e.

    00001
    00002
    00003
    .......
    0001 - where 0 is not shown as it's the end number
    00011
  12. Replies
    68
    Views
    76,209

    Hi mjwaldner, Using Microcode Studio, make...

    Hi mjwaldner,

    Using Microcode Studio, make sure you have the correct chip selected, 18F4550. The editor sometimes defaults to a different IC when you open it - this has caught me out a couple of...
  13. Replies
    3
    Views
    3,461

    Hi, I'm not sure if that's your whole code or...

    Hi,

    I'm not sure if that's your whole code or not. You should really have a small delay before your program starts to allow the Power supply to settle properly. There should also be a delay for...
  14. Replies
    11
    Views
    12,215

    Sorted!

    Hi Mister_E,

    that would be what the problem is then!!!

    These files were generated by EasyHID but EasyHID was developed before PBPL came out and therefore it doesn't produce the ".bal" file.
    ...
  15. Replies
    11
    Views
    12,215

    I've got all the files listed in the USB18.txt in...

    I've got all the files listed in the USB18.txt in the project subdirectory: USB18.ASM, USB18MEM.ASM, USB18.INC, USBDESC.ASM and the project descriptor file and also the 18F4550.BAS file - see...
  16. Replies
    11
    Views
    12,215

    doh - I meant MeLabs - thanks for pointing that...

    doh - I meant MeLabs - thanks for pointing that out!



    if you get a chance to try it that'd be great! If not though, don't worry as I'm not in any hurry because I can make it compile fine in...
  17. Replies
    11
    Views
    12,215

    Still got this problem...

    Hi,

    I've still got this same problem and I'm just trying to work out if I'm the only person? I know a fair amount of people here are developing code with USB but I'm not sure how many people have...
  18. Replies
    18
    Views
    8,242

    There should be no problem with using a 10k...

    There should be no problem with using a 10k pull-down resistor. So the gun pin (the one that's connected to RA5 of the mag) goes to an input immediately after sending a 1ms high signal? This...
  19. Replies
    18
    Views
    8,242

    I have used both values without problems although...

    I have used both values without problems although I normally use 10k.



    It really does depend on what the input to the PIC is coming from although, generally, it is best to use a pull-down...
  20. Excellent, glad it's working for you! Kind...

    Excellent,

    glad it's working for you!

    Kind regards

    Rob
  21. Replies
    11
    Views
    12,215

    Sorry, wasn't having a pop - I meant thanks...

    Sorry,

    wasn't having a pop - I meant thanks for the reply. I just wondered if you had experienced this. PBPL is the compiler that comes with PBP 2.50 for compiling with "Long" variables.
    ...
  22. Replies
    11
    Views
    12,215

    Thanks, I already had those files in my...

    Thanks,

    I already had those files in my subdirectory. I have now replaced them with the files from PBP2.50 as they seem to be newer versions (I have kept copies of the old ones that were in the...
  23. Replies
    11
    Views
    12,215

    USB PBPL Compile errors

    Hi,

    I've been compiling my USB project fine until I select "Use PBPL" in MCSP. It will compile fine with PBPL if I stick the file I want to compile in the USB directory i.e. C:/PBP/USB18
    ...
  24. Skimask has given you the answer for the error...

    Skimask has given you the answer for the error but the frequency will need to be defined as 48MHz when you correct to FCMEN instead of FCMEM. This is because the config settings I have given you set...
  25. Hi, not sure if your Oscillator is set to the...

    Hi,

    not sure if your Oscillator is set to the correct frequency. 20MHz; should this not be 48MHz? Are you defining the configs correctly for use with PLL?

    For a 20MHz crystal I use these:

    ...
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4