Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds; generated 8 minute(s) ago.

  1. Replies
    6
    Views
    2,123

    Re: USBSERVICE And SERIN2 Odd Behavior

    This program having SERIN2 working together with a USB connection keeps giving me headaches :eek:. The first code below works fine for many straight hours and days. However the second code gets hung...
  2. Replies
    6
    Views
    2,123

    Re: USBSERVICE And SERIN2 Odd Behavior

    Thanks, I haven't clean up the code yet. That makes sense about the unexpected issues.
  3. Replies
    6
    Views
    2,123

    Re: USBSERVICE And SERIN2 Odd Behavior

    Thanks, Richard. Now, I'm using the Darrel's USB interrupt and it helps. It is not really crucial in my program if a package is lost using the SERIN2 or SEROUT2 commands. I changed my code like it's...
  4. Replies
    6
    Views
    2,123

    USBSERVICE And SERIN2 Odd Behavior

    Hi,

    I have the following code below where every once in a while I'm checking the incoming data using SERIN2. If I change the WAIT-TIME in SERIN2 from 5mS to 4mS or less the USB connection would...
  5. Replies
    3
    Views
    1,374

    Re: DT Interrupts and HSERIN / HSEROUT

    Richard, thanks for the reply. I was concerned that the interrupt might interfere with the HSERIN and HSEROUT commands.
  6. Replies
    3
    Views
    1,374

    DT Interrupts and HSERIN / HSEROUT

    Hi,

    I'm using the DT USB Interrupts in the link below. In the same program, I'm using a few HSERIN and HSEROUT commands. I know that these two things don't like each other. However, since this DT...
  7. Replies
    9
    Views
    3,772

    Re: GOTO vs RETURN after a GOSUB

    Thank you guys.

    Robert
  8. Replies
    9
    Views
    3,772

    Re: GOTO vs RETURN after a GOSUB

    Yes, I'm asking myself the same question :D. Yes, your code looks better than mine. The program is probably overflowing the stack and halting like Dave said. Will the program restart from the...
  9. Replies
    9
    Views
    3,772

    GOTO vs RETURN after a GOSUB

    Hi, I have the following code,



    MainLoop:

    'DO SOME STUFF HERE.....

    FOR J = 0 TO 7
    GOSUB SearchForClockSignal
  10. Re: One-Wire Communication Assembly Help

    Thanks. Assembly is not something that I'm very familiar with. I'll go over this code. It seem to do what I need.

    Robert
  11. WS2811 and WS2812 One-Wire Communication Assembly Help

    Hi all,

    I'm working on a project with the WS2812B LED lights. The PIC needs to send 24 bits for every LED that is connected in series. The 1st byte being for the green, the 2nd byte being for the...
  12. Replies
    53
    Views
    56,570

    Re: VB.NET Program

    Hi,

    Does anybody have a new version of this code for PBP3 and VB.NET 13, 15, or 17? I tried the VB NET code in the first post and it gave me all kind of errors. Does anybody knows where I can get...
  13. Replies
    2
    Views
    1,899

    Re: Unable to program 18F67J94

    The melabs website shows that PBP3 supports that chip. I have never seen a defective PIC in all the years I've programming them. More than likely that you are not setting the registers correctly....
  14. Replies
    5
    Views
    1,741

    Re: Port Digital Output Not Changing Properly

    Thanks Richard. That helps a lot.
  15. Replies
    5
    Views
    1,741

    Re: Port Digital Output Not Changing Properly

    Also, is it possible to use LATCH instead or PORTx.x in PBP? How would you use the LATCH register?
  16. Replies
    5
    Views
    1,741

    Re: Port Digital Output Not Changing Properly

    Richard, wow I wasn't aware of this issue. Check out the following article. It explains in detail exactly what happened in my code.
    ...
  17. Replies
    5
    Views
    1,741

    Port Digital Output Not Changing Properly

    Hi,

    I'm using a 18F4550 PIC code that's running on PBP2.50. I'm pulling my hair out trying to figure out why this code won't work. :confused:



    DUMMYVAR VAR BYTE

    TRISB = %00000000 ...
  18. Replies
    2
    Views
    1,566

    Re: PBP3 and DT Interrupts

    Actually, I found the problem. The files DT_INTS-18.bas and ReEnterPBP-18.bas need to be included in the same folder with the pbp program. That resolved all the issues.

    So far I'm pretty happy...
  19. Replies
    2
    Views
    1,566

    PBP3 and DT Interrupts

    Hi,

    I just bought my license for PBP3 after many years using PBP2.60 :biggrin:. I have a program that works perfectly fine with PBP2.60, but apparently PBP3 doesn't like DT interrupts. I got a...
  20. Replies
    10
    Views
    6,400

    Re: Decaying sounds synthesis with PWM

    Try this,

    http://www.picbasic.co.uk/forum/showthread.php?t=15386&highlight=music

    I tested it and it worked!
  21. Re: Making Code Smaller for a Multiplexed LCD Display

    Art, in this example there is a multiplexed 7-segment LCD, 4 commons, display that I am running directly from the PIC. The advantage of the 4 commons is that you only need one pin in the PIC for...
  22. Re: Making Code Smaller for a Multiplexed LCD Display

    Actually, I'm using the 16F1939. I'm going to check for the 18F that you mentioned.
  23. Re: Making Code Smaller for a Multiplexed LCD Display

    Yeap, you are right. I was hoping that somebody knew of a clever way of doing this.
  24. Re: Making Code Smaller for a Multiplexed LCD Display

    Dave,

    This LCD is actually a 7-segments, 4 commons, multiplexed display. That code is more for an LED display type.

    Jerson,

    Thanks for your comment. So, you know that this displays are a...
  25. Re: Making Code Smaller for a Multiplexed LCD Display

    Yes, it is.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4