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.

  1. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    I had a PBP project to write to a SD card and it worked. That was many years ago and I don't remember the details of it, but it works. Attached is the sample code that I downloaded from the internet....
  2. Replies
    13
    Views
    3,783

    Re: SEROUT2 Byte Array In HEX Format

    Thanks, I will try both of your suggestions.
  3. Replies
    13
    Views
    3,783

    Re: SEROUT2 Byte Array In HEX Format

    I sent these 65 bytes every 100 mS. The data rate of the HC-05 seems to be high,


    ...
  4. Replies
    13
    Views
    3,783

    Re: SEROUT2 Byte Array In HEX Format

    No, that space shouldn't be there. There are 64 characters followed by a comma.
  5. Replies
    13
    Views
    3,783

    Re: SEROUT2 Byte Array In HEX Format

    I'm using an HC-05 module to send data to a PC or cellphone.
  6. Replies
    13
    Views
    3,783

    Re: SEROUT2 Byte Array In HEX Format

    Hmm, how is that going to help? What amount of delay should I use?
  7. Replies
    13
    Views
    3,783

    Re: SEROUT2 Byte Array In HEX Format

    The data package looks like this 432551346666666600000000000000000000000000000000CCCCCCCCA98BB79A,. This is just 32 bytes in HEX format followed by a comma. The comma is just to delimit the packages....
  8. Replies
    13
    Views
    3,783

    SEROUT2 Byte Array In HEX Format

    Hi, I have an array of 32 bytes. I need to send it to a Bluetooth module in HEX format. The only way I have been able to do it is,



    FOR I = 0 TO 31
    SEROUT2 PORTC.1,84,[HEX2...
  9. Replies
    21
    Views
    7,911

    Re: RETURN command?

    This is not a bug. The programmer should put a RETURN at the end of every SUB routine. There can be some conditional RETURN commands too. You should organize your program such that every SUB routine...
  10. Replies
    4
    Views
    4,029

    Re: Microchip Chip Shortage

    Many car manufacturers canceled their chip orders at the beginning of the pandemic. The chip companies retooled their equipment to make chips for the electrodomestic industry. Many items like tablets...
  11. Replies
    4
    Views
    4,029

    Microchip Chip Shortage

    Today, I was browsing through the Microchip website and to my horror most of the chips are out of stock. The expected shipping date for most of them is September 2022, a year from now.

    I...
  12. Replies
    6
    Views
    36,121

    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...
  13. Replies
    6
    Views
    36,121

    Re: USBSERVICE And SERIN2 Odd Behavior

    Thanks, I haven't clean up the code yet. That makes sense about the unexpected issues.
  14. Replies
    6
    Views
    36,121

    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...
  15. Replies
    6
    Views
    36,121

    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...
  16. Replies
    3
    Views
    16,693

    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.
  17. Replies
    3
    Views
    16,693

    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...
  18. Replies
    9
    Views
    27,254

    Re: GOTO vs RETURN after a GOSUB

    Thank you guys.

    Robert
  19. Replies
    9
    Views
    27,254

    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...
  20. Replies
    9
    Views
    27,254

    GOTO vs RETURN after a GOSUB

    Hi, I have the following code,



    MainLoop:

    'DO SOME STUFF HERE.....

    FOR J = 0 TO 7
    GOSUB SearchForClockSignal
  21. 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
  22. 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...
  23. Replies
    53
    Views
    97,676

    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...
  24. Replies
    2
    Views
    17,217

    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....
  25. Replies
    5
    Views
    9,924

    Re: Port Digital Output Not Changing Properly

    Thanks Richard. That helps a lot.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4