Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Thread: USBIN pain

    by nicjo
    Replies
    10
    Views
    11,004

    Re: USBIN pain

    That might explain why garbage appears on the lcd at switch on, however as its confihured as virtual serial and not pure USB as in hid I would,nt have thought that [0] would be reserved, but it...
  2. Thread: USBIN pain

    by nicjo
    Replies
    10
    Views
    11,004

    Re: USBIN pain

    If I set the high order byte to 0, word.byte1=0, and send 255 I get 255 in the display, cant send beyond that as 2nd byte is 0. When both bytes set as buff [0], [1] and send 255 or less I get a...
  3. Thread: USBIN pain

    by nicjo
    Replies
    10
    Views
    11,004

    USBIN pain

    Hi all,

    I trying to send a two byte word down the pipe but I cannot get the received data to equal what's been sent. ASCII char are fine as each is one byte long. I can send a one byte number like...
  4. Replies
    53
    Views
    97,884

    Re: PIC USB to VB.NET

    Heres some of the code, this all works fine using simple delay or other timer

    Main:
    ; Check for incomming USB data while waiting
    @ ON_USBRX_GOSUB _HandleRX
    lcdout $FE, 1,...
  5. Replies
    53
    Views
    97,884

    Re: PIC USB to VB.NET

    Hi all,

    I'm trying to use TMR0 however USB does not seem to communicate. I saw in past threads that TMR0 was used for USB polling, I've been examining all files related DT-INTS, DT-HID and...
  6. Replies
    3
    Views
    3,819

    serial to usb converter

    Hi everyone,

    I've got a project that worked fine with a standard serial port using VB code slightly modified to that of Rentron.com. Basically grab 4 bytes with the first 2 being an instruction to...
  7. Replies
    13
    Views
    10,094

    Thanks Steve. Eventually got back to my project....

    Thanks Steve. Eventually got back to my project. (To much time spent on this thing, so the missus says). Anyway, it works a treat. Iv'e added a couple more things to it as now the comms side of it...
  8. Replies
    13
    Views
    10,094

    Thanks Steve, I've just opened up the files...

    Thanks Steve,

    I've just opened up the files the files you sent and begin to incorporate into my project. I'll let you know how I went, hopefully all good.


    Cheers

    John
  9. Replies
    13
    Views
    10,094

    Thanks, I,m using a Xtal, found that out the hard...

    Thanks, I,m using a Xtal, found that out the hard way, could'nt work out why there were so many errors, after puting xtal in cct, errors disappeared. And yes, I'm using a 628.

    I kind of figured...
  10. Replies
    13
    Views
    10,094

    Steve, I've attached the VB program and the PBP...

    Steve, I've attached the VB program and the PBP prog. Its pretty uglgy but for the best part it works. Its works well with the vb prog when variables are sent as byte1, byte2. Strange this occur when...
  11. Replies
    13
    Views
    10,094

    Hi all, I've been able to get error free...

    Hi all,

    I've been able to get error free comms by sending the variables as high and low bytes (debug "aa", stepcnt.byte1, stepcnt.byte0). The same is not true when I send the variable as
    ...
  12. Replies
    13
    Views
    10,094

    Thanks Henrik, Yes I have tried what you've...

    Thanks Henrik,

    Yes I have tried what you've suggested, but only on the transmission of one variable containing 2 bytes. It worked fine. I will change the code and see if that does the trick....
  13. Replies
    13
    Views
    10,094

    PC serial port funny

    Hi all,

    I guess this is a question more about the MSCOMM object within VB6 than PICs however, it may turn out the other way.

    I'm sending serial data to the PC and displaying the data in several...
  14. Replies
    12
    Views
    5,677

    Thanks. I'm pretty sure that I've tried that....

    Thanks. I'm pretty sure that I've tried that. Code may have been slightly differnent but resulted in a new line for pause.

    scatching me head...
  15. Replies
    12
    Views
    5,677

    I've searched the forum on the 16f88, however, it...

    I've searched the forum on the 16f88, however, it revealed no real answers to my delema.

    As far as I can tell the thing should work. I've set the fuses to:

    __config _CONFIG1, _HS_OSC & _WDT_ON...
  16. Replies
    12
    Views
    5,677

    16f88 can't get lcd to work

    Hi all,

    I've got a problem trying to display a simple message on an LCD using a PIC16F88. The problem, after much testing, seems to be the PAUSE command. It appears that the delay produced, even...
  17. Thread: Hserin problems

    by nicjo
    Replies
    0
    Views
    2,810

    Hserin problems

    Hi all,

    I guess there's a problem with the code I've written but I cannot see where. I'm trying to rx a character, test it then if OK then drive a port. I've tried all soughts of variations but to...
  18. Thread: Hser-rx test

    by nicjo
    Replies
    0
    Views
    3,041

    Hser-rx test

    I want to be able to test a variable assigned to Hserin, say 'char' as in Hserin 1000, [char] and test 'char' if it is = "a" (for arguments sake). I would imagine it would be as simple as:

    if char...
  19. Thread: Icd 2

    by nicjo
    Replies
    2
    Views
    17,627

    Thanks mate. I think PICbasic sounds like a...

    Thanks mate.

    I think PICbasic sounds like a good choice.
  20. Thread: Icd 2

    by nicjo
    Replies
    2
    Views
    17,627

    Icd 2

    I'm currently using Celestial Horizon's CH Basic. Its very basic in so much that I find writing almost as much assembly code as the basic. I'm thinking of PICBasic??

    I would also like to know if...
Results 1 to 20 of 20