Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Del Tapparo; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,130

    Re: Weird Random problem

    Well, I finally gave up on this code. I had the same problem with another variation of this code and fixed that one. But the first is still a head -scratcher. I'm sure it has nothing to do with ADC...
  2. Replies
    1
    Views
    2,130

    Weird Random problem

    Auto_Whistle:
    'Check for auto whistle (shares V_Bat input)
    'ADCIN Batt_Whis_ADCIN,V_Mon
    'if ((V_Mon < ADC_Low) and (Whistle_Off_Flag = 0) and (Percent < 50)) then <<<<<<<...
  3. Replies
    1
    Views
    2,856

    Nordic Key Fob and nRF24L01+

    Has anyone written any PIC Basic Pro code for this device? So far I haven't found any complete documentation for what the key fob is outputting, and I have little experience with serial protocols....
  4. Replies
    17
    Views
    9,424

    I get it now .... In my case, all of the...

    I get it now ....

    In my case, all of the reassigned inputs use the PULSIN command. I simply assign a variable to the pin portion of the PULSIN command, separate from the resulting input data...
  5. Replies
    17
    Views
    9,424

    Yes, there are many ways to achieve this within...

    Yes, there are many ways to achieve this within the loop of the main program. I was trying avoid having to make pin decisions every time I wanted to collect data. I just want to reassign the pins at...
  6. Replies
    17
    Views
    9,424

    Reassigning I/O within the program ?

    I would like to reassign I/O pins to specific variables based on the state of an input pin. Can I do this? e.g.

    If Input = 1 then
    Variable1 = PORTB.1
    else
    Variable1 = PORTB.2
    endif

    But...
  7. Replies
    5
    Views
    3,996

    Problem was resolved by reassigning I/O. Good...

    Problem was resolved by reassigning I/O. Good tips though. Thanks to all. I learned something (always a good thing).
  8. Replies
    5
    Views
    3,996

    Yes indeed! That is my problem. RA4 is a Schmitt...

    Yes indeed! That is my problem. RA4 is a Schmitt trigger input and my Rx puts out 3V pulses with the PIC running at 5V. Thank you very much for saving me a bunch more time and headache.
    ...
  9. Replies
    5
    Views
    3,996

    PIC18F1220 RA4 using PULSIN ?

    Is there any good reason that I can't get the RA4 input to work with PULSIN? I am using a PIC18F1220 with a 20MHZ resonator. PULSIN works fine on any PORTB pin, but won't fly on RA4. RA4 works as a...
  10. Thread: CyFi / PIC

    by Del Tapparo
    Replies
    2
    Views
    2,409

    http://www.cypress.com/?id=1379

    http://www.cypress.com/?id=1379
  11. Thread: CyFi / PIC

    by Del Tapparo
    Replies
    2
    Views
    2,409

    CyFi / PIC

    Has anyone interfaced the CyFi 2.4GHZ RF modules to a PIC using PIC Basic?
  12. Replies
    2
    Views
    2,930

    I found it. I had a Byte variable storing the...

    I found it. I had a Byte variable storing the result of a calculation using a Word variable. It worked in my case, because I knew the bounds of the calculation, but hence, the warning. Thanks for...
  13. Replies
    2
    Views
    2,930

    Warning[202]

    Can someone please tell me what this means?
    Warning[202] ... file location ... 152 : Argument out of range

    This doesn't seem to tell me where the error is. It isn't in line 152, so where is it?
  14. Replies
    1
    Views
    2,219

    Code Protection

    Simple question: If I turn on code protection for the program memory of a PIC, this will obviously not allow program memory to be read. Can I still write to it? (e.g. If I want to update the software...
  15. Replies
    4
    Views
    6,198

    Writing User ID

    How do I write to the User ID memory locations (2000h-2003h) on a PIC 12F683? Poke, PokeCode, Write, and WriteCode don't seem to be the answer. Do I need to insert assembly code in the PBP code?
  16. Replies
    8
    Views
    4,264

    OK. ANSEL register is the trick. I needed digital...

    OK. ANSEL register is the trick. I needed digital inputs, and it was configured for analog! I found the info in the data sheet. Thanks again Mister e!
  17. Replies
    8
    Views
    4,264

    Thanks for the reply. This is exactly what I...

    Thanks for the reply. This is exactly what I needed. Actually, shortly after my last post, I found a link, http://www.melabs.com/support/config_defaults.htm that sorted it all out for me. Why this...
  18. Replies
    8
    Views
    4,264

    My head hurts! I am trying to learn how to set...

    My head hurts!

    I am trying to learn how to set the configuration bits. I try to use the MPLAB configuration bits window, but I can't get it to stick in the chip. I am using PICKIT 2 programming...
  19. Replies
    8
    Views
    4,264

    I bought the Microchip PicKit 2 programmer. I am...

    I bought the Microchip PicKit 2 programmer. I am struggling to figure things out now. I can load the code (into my PIC 12F6823), but nothing works. I suspect it has something to do with the...
  20. Replies
    3
    Views
    3,603

    No wonder I can't figure it out. The PIC-AXE 08M...

    No wonder I can't figure it out. The PIC-AXE 08M chip IS a PICF683! I've been looking at the wrong data sheet. Thank you.
  21. Replies
    3
    Views
    3,603

    Clock Speed

    I current use a PIC-AXE 08M chip (PIC12F629). Pic-Axe allows me to choose either 4MHZ or 8MHZ internal oscillator. It isn't obvious to me to see how to do this in PIC BASIC PRO. I don't want to use...
  22. Replies
    8
    Views
    4,264

    USB Programmer on e-bay

    I am in the process of researching all the hardware and software to do development using Pic Basic Pro. I see a programmer for sale on e-bay called a "USB Microchip PIC programmer" for about $35. It...
  23. Replies
    3
    Views
    3,776

    Thanks for the quick response. That solves one...

    Thanks for the quick response. That solves one problem. I'm just exploring PIC Basic Pro, so I'm sure this is just the beginning.
  24. Replies
    3
    Views
    3,776

    SERIN timeout

    Do all PICs support SERIN timeout? Or do I need to look for certain hardware features?
Results 1 to 24 of 24