Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Dick Ivers; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    27
    Views
    29,970

    Re: How to prevent variable going below zero?

    Try this:

    if Z.15 = 1 then
    Z = 0
    endif
  2. Replies
    12
    Views
    34,768

    Re: Snap programmer

    Henrick …. I tried the executable you suggested but it didn't lead to a useable result. Perhaps something else is needed ??

    In any case I don't want to spend more time working on the snap...
  3. Replies
    12
    Views
    34,768

    Re: Snap programmer

    Final summary on the Snap programmer:

    1. The programmer works well when using MPLAB X IPE as long you have the latest version (5.30) running. (Thanks Henrick)

    2. The device does not work under...
  4. Replies
    5
    Views
    25,249

    Re: Micro code studio -- 16F1847

    You may need to update your PK2DeviceFile.dat

    Try this patch:
    Patch the C:Program FilesMicrochipPICkit 2 v2PK2DeviceFile.dat with following file: http://www.piccircuit.com/ins/PK2DeviceFile.dat
  5. Replies
    12
    Views
    34,768

    Re: Snap programmer

    Update: All the programming functions are now working when I use the Snap programmer from MPLAB x IPE v5.30. I found that the Snap device must be run from the Advanced Mode in order to view the...
  6. Replies
    12
    Views
    34,768

    Re: Snap programmer

    Yes, I now have MPLAB X IPE version 5.30 installed and there is some progress. The Snap programmer is now recognized and my connected PIC device is correctly identified. However, I have more work to...
  7. Replies
    12
    Views
    34,768

    Snap programmer

    Hi,
    I picked up one of these low cost programmers at the current 50% discount offer price from microchipDIRECT making the part extremely cheap. Now trying to get it to work and could use some help....
  8. Replies
    7
    Views
    22,334

    Re: inverting all bits in a byte

    Use the ^ operator for Bitwise Exclusive OR

    ByteA = ByteA ^ %11111111 Inverts the bits of ByteA
  9. Replies
    4
    Views
    4,011

    Re: Activation problem!

    Where is there a list of the new features in PBP 3.1? I would like to know if it's worth buying.
  10. Replies
    7
    Views
    24,874

    Re: Looking for "transparent" RF transceiver

    I also use LORA modules for most projects. They utilize a SPI interface to the microprocessor. Not sure this meets your definition of transparent but they work fine.

    I have also used wireless...
  11. Replies
    16
    Views
    9,574

    Re: Monitor supply voltage of chip?

    PIC 12F1822 has FVRs and eveyrthing else you need.
  12. Re: Example code for rfm69hw or similar rfm69 module?

    You may want to consider the RFM95W radio module. It is a LoRa, long range transceiver using spread spectrum modulation. You can easily get the range you are looking for. Works best at low data...
  13. Replies
    3
    Views
    3,064

    Re: How to enable two interrupts?

    Hi again,
    I'm taking a stab at a possible solution to my own problem:

    Of course there cannot be two interrupt handlers. So, within the single handler a test could be made to determine which of...
  14. Replies
    3
    Views
    3,064

    How to enable two interrupts?

    Hi,
    I have one interrupt working but now would like to enable a second. The first one is a Timer2 match interrupt. The Pic is a 16f1829. I use other Pics in this same family as well. They all...
  15. Re: Usb to ttl modules - connection to pics at 3.3v

    I must be missing something regarding the discussion of the benefit of using a Schottky diode in this application. From a reading of the PIC data sheet the maximum pin input voltage for the low state...
  16. Re: Usb to ttl modules - connection to pics at 3.3v

    Charlies's approach sounds good. Would it not be wise to use a Schottky diode to keep the low input to the PIC as low as possible?
  17. Re: 18f14k22 portb.5 always high using hserout

    Another approach is to enable/disable the hardware port in your program. For the 16f1826 I use RCSTA.7 = 0 to disable the port when I'm done using it.
  18. Replies
    7
    Views
    3,945

    Re: How to recognize the "Enter" keystroke

    Henrick,
    You're right that terminals can be configured differently. I'm using TeraTermPro and Hyperterm VT100 terminals. Both are configured for the lines to end with a CR. Agreed that it would be...
  19. Replies
    7
    Views
    3,945

    Re: How to recognize the "Enter" keystroke

    Henrick,
    You are quite correct, there is no need to employ arrraywrite to get the desired result. I tried your new code and it works. Also, I don't think there is a need to test for the presence of...
  20. Replies
    7
    Views
    3,945

    Re: How to recognize the "Enter" keystroke

    Henrick,
    I got your idea to work using a modification to your code. I need do do more testing, but it seems solid. The modified code is as follows:


    i VAR BYTE
    Value VAR WORD
    ...
  21. Replies
    7
    Views
    3,945

    Re: How to recognize the "Enter" keystroke

    Henrick,
    Thanks.... your suggestion to use the ARRAYREAD function to parse the incoming strings I think will work, and is a good idea. I didn't know about that command until now. However, I can't...
  22. Replies
    7
    Views
    3,945

    How to recognize the "Enter" keystroke

    Hi,
    I have a list of variables stored in eeprom. In the code example below there are four variables shown but in the final program there will be eight.

    I have working code will allows each of the...
  23. Replies
    2
    Views
    2,447

    Re: Pic Part Number Question

    Henrick,
    Yep, I missed it, but's clear as day on page 405 of the data sheet. Thanks for your speedy reply.

    Dick
  24. Replies
    2
    Views
    2,447

    Pic Part Number Question

    I've searched the data sheets high and low and cannot find the answer to this question:

    What is the "T" designation, e.g. what is the difference between a 16F1827 and a 16F1827T ?
  25. Re: How to detect low battery in battery powered F683 circuit

    Hi Tekart,
    Do you have PBP3 ? I believe you will need it to use the 12F1822 or any xxF1xxx part.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4